1 |
1.32 ms |
SELECT `creation_timestamp`
FROM `migration`
WHERE `update` IS NOT NULL AND `update_destructive` IS NULL
SELECT `creation_timestamp`
FROM `migration`
WHERE `update` IS NOT NULL AND `update_destructive` IS NULL
;
array:7 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 377)"
2 => "Shopware\Core\Kernel::initializeDatabaseConnectionVariables (line 51)"
3 => "Bodymed\Webshop\Kernel::initializeDatabaseConnectionVariables (line 197)"
4 => "Shopware\Core\Kernel::boot (line 129)"
5 => "Shopware\Core\HttpKernel::doHandle (line 81)"
6 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
2 |
0.40 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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.00 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` = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6';
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.10 ms |
SELECT `promotion`.`id` FROM `promotion` LEFT JOIN `promotion_sales_channel` `promotion.salesChannels` ON `promotion`.`id` = `promotion.salesChannels`.`promotion_id` WHERE ((`promotion`.`active` = :param_0cd6ca296c84479b937499ecde560c7d AND `promotion.salesChannels`.`sales_channel_id` = :param_cc2f580421ba4631a7e73a21e4d6244e AND ((`promotion`.`valid_from` <=> :param_e4ec46a2f76e4d54a0b01d5ff48f0eea AND `promotion`.`valid_until` <=> :param_a4349c97fd2f4f54a787ea2c57a711a6) OR (`promotion`.`valid_from` <=> :param_99a7b9e78e764340a729760a2873108f AND (`promotion`.`valid_until` > :param_cae5a7f54871423980ed1d3f53e94455)) OR ((`promotion`.`valid_from` <= :param_f7e8bb6c8eb34fc4b997de9f2dc9511c) AND `promotion`.`valid_until` <=> :param_d6da600363494dfd8a02d8fa6d70e9af) OR ((`promotion`.`valid_from` <= :param_2f6c3c910b554cbb8ada86dbe33179d5) AND (`promotion`.`valid_until` > :param_8ef4a248d5404292a677746f132d8dc5))) AND `promotion`.`use_codes` = :param_1acba8c494f34d72a83cbadda6819316)) 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-12-26 21:13:22')) OR ((`promotion`.`valid_from` <= '2024-12-26 21:13:22') AND `promotion`.`valid_until` <=> NULL) OR ((`promotion`.`valid_from` <= '2024-12-26 21:13:22') AND (`promotion`.`valid_until` > '2024-12-26 21:13:22'))) AND `promotion`.`use_codes` = 0)) GROUP BY `promotion`.`id` ORDER BY MAX(`promotion`.`priority`) DESC;
array:44 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 291)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
8 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 44)"
11 => "Shopware\Core\Checkout\Promotion\Gateway\PromotionGateway::get (line 184)"
12 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::searchPromotionsAuto (line 110)"
13 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::Shopware\Core\Checkout\Promotion\Cart\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 161)"
15 => "Shopware\Core\Checkout\Promotion\Cart\PromotionCollector::collect (line 103)"
16 => "Shopware\Core\Checkout\Cart\Processor::runProcessors (line 67)"
17 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
19 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
20 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
21 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
23 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
24 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
25 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
26 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
27 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
28 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
29 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
30 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
31 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
33 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
34 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
35 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
36 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
37 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
38 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
41 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
42 => "Shopware\Core\HttpKernel::doHandle (line 81)"
43 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
7 |
3.65 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.54 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_077068697aef41a48166393d8833ee56))
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.89 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_aa33f4dd73154a49ae3c12def6e24001)
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.61 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_ec9b25b610014b44a7415124b9f95376)
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.19 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_45b155dffa91471ebaed107771e195c6 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_89125912f26146a6b38b3bcaa093f039 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_c4fc33f0600b4a3cbcb01d7427e619ac)))
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.37 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_969b70563fe84febbdc75aea50c61a93)
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_969b70563fe84febbdc75aea50c61a93
)
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.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 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.63 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
15 |
0.69 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_731cdb0130974634b04f9f7f21f0f599)) AND (`country`.`id` IN (:ids)) GROUP BY `country`.`id`
SELECT `country`.`id` FROM `country` LEFT JOIN `sales_channel_country` `country.salesChannels.mapping` ON `country`.`id` = `country.salesChannels.mapping`.`country_id` LEFT JOIN `sales_channel` `country.salesChannels` ON `country.salesChannels.mapping`.`sales_channel_id` = `country.salesChannels`.`id` WHERE ((`country.salesChannels`.`id` = 0x620A2217F7474E619CB00AD39E804CCA)) AND (`country`.`id` IN (0xE48353977FA643C0A8D0D7BC81E49C46)) GROUP BY `country`.`id`;
array:37 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 107)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntitySearcher::search (line 62)"
4 => "Shopware\Elasticsearch\Framework\DataAbstractionLayer\ElasticsearchEntitySearcher::search (line 132)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::searchIds (line 41)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::searchIds (line 104)"
7 => "Shopware\Core\Checkout\Cart\Address\AddressValidator::isSalesChannelCountry (line 58)"
8 => "Shopware\Core\Checkout\Cart\Address\AddressValidator::validate (line 29)"
9 => "Shopware\Core\Checkout\Cart\Validator::validate (line 76)"
10 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
11 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
12 => "Shopware\Core\Checkout\Cart\Processor::process (line 132)"
13 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
15 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
16 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
17 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
18 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
19 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
20 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
21 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
22 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
23 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
24 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
25 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
26 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
27 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
28 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
29 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
30 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
31 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
33 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
34 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
35 => "Shopware\Core\HttpKernel::doHandle (line 81)"
36 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
16 |
0.64 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_908ce03bbc444caaa3b3641e9222b117)
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.75 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_e1db406137944785aa2c545298fcabd8)
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 |
3.20 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_98e162ca6c9043e2ac81fecea22fbc1e AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_60addb263ca44cf6b809081848aecb6d OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_9ba66cb584984125940b59033d2a3b16)))
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.42 ms |
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_6d1223970064414cad01131c5788c22f)
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_6d1223970064414cad01131c5788c22f
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:43 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
16 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
17 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
18 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
19 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
20 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
21 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
22 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
23 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
24 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
25 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
26 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
27 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
28 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
29 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
30 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
31 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
32 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
33 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
34 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
35 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
36 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
37 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
38 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
39 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
40 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
41 => "Shopware\Core\HttpKernel::doHandle (line 81)"
42 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
20 |
0.86 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.65 ms |
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
`script`.`name` AS name,
`script`.`script` AS script,
`app`.`name` AS appName,
LOWER(HEX(`app`.`integration_id`)) AS integrationId,
IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
FROM `script`
LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
WHERE `script`.`hook` = 'include'
ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
;
array:33 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 1042)"
2 => "Doctrine\DBAL\Connection::fetchAllAssociative (line 92)"
3 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
4 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
5 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 70)"
6 => "Shopware\Core\Checkout\Cart\Processor::Shopware\Core\Checkout\Cart\{closure} (line 59)"
7 => "Shopware\Core\Profiling\Profiler::trace (line 86)"
8 => "Shopware\Core\Checkout\Cart\Processor::process (line 148)"
9 => "Shopware\Core\Checkout\Cart\CartRuleLoader::Shopware\Core\Checkout\Cart\{closure} (line 59)"
10 => "Shopware\Core\Profiling\Profiler::trace (line 183)"
11 => "Shopware\Core\Checkout\Cart\CartRuleLoader::load (line 88)"
12 => "Shopware\Core\Checkout\Cart\CartRuleLoader::loadByToken (line 106)"
13 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::Shopware\Core\System\SalesChannel\Context\{closure} (line 59)"
14 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
15 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 45)"
16 => "Madco\Mykey\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 30)"
17 => "Bodymed\Webshop\Core\System\SalesChannel\Context\SalesChannelContextService::get (line 105)"
18 => "Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver::resolve (line 38)"
19 => "Shopware\Core\Framework\Routing\ContextResolverListener::resolveContext (line 118)"
20 => "Symfony\Component\EventDispatcher\Debug\WrappedListener::__invoke (line 230)"
21 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
22 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
23 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
24 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
25 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
26 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
27 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 151)"
28 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
29 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
30 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
31 => "Shopware\Core\HttpKernel::doHandle (line 81)"
32 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
22 |
5.59 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.60 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.30 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.56 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_0de8446f14934164832e82f47c3ed91a)))
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_0de8446f14934164832e82f47c3ed91a
)
)
)
SELECT `cms_section`.`id` as `cms_section.id`, `cms_section`.`position` as `cms_section.position`, `cms_section`.`type` as `cms_section.type`, `cms_section`.`locked` as `cms_section.locked`, `cms_section`.`name` as `cms_section.name`, `cms_section`.`sizing_mode` as `cms_section.sizingMode`, `cms_section`.`mobile_behavior` as `cms_section.mobileBehavior`, `cms_section`.`background_color` as `cms_section.backgroundColor`, `cms_section`.`background_media_id` as `cms_section.backgroundMediaId`, `cms_section`.`background_media_mode` as `cms_section.backgroundMediaMode`, `cms_section`.`css_class` as `cms_section.cssClass`, `cms_section`.`cms_page_id` as `cms_section.pageId`, `cms_section`.`visibility` as `cms_section.visibility`, `cms_section`.`custom_fields` as `cms_section.customFields`, `cms_section`.`version_id` as `cms_section.versionId`, `cms_section`.`cms_page_version_id` as `cms_section.cmsPageVersionId`, `cms_section`.`created_at` as `cms_section.createdAt`, `cms_section`.`updated_at` as `cms_section.updatedAt`, `cms_section.backgroundMedia`.`id` as `cms_section.backgroundMedia.id`, `cms_section.backgroundMedia`.`user_id` as `cms_section.backgroundMedia.userId`, `cms_section.backgroundMedia`.`media_folder_id` as `cms_section.backgroundMedia.mediaFolderId`, `cms_section.backgroundMedia`.`mime_type` as `cms_section.backgroundMedia.mimeType`, `cms_section.backgroundMedia`.`file_extension` as `cms_section.backgroundMedia.fileExtension`, `cms_section.backgroundMedia`.`uploaded_at` as `cms_section.backgroundMedia.uploadedAt`, `cms_section.backgroundMedia`.`file_name` as `cms_section.backgroundMedia.fileName`, `cms_section.backgroundMedia`.`file_size` as `cms_section.backgroundMedia.fileSize`, `cms_section.backgroundMedia`.`media_type` as `cms_section.backgroundMedia.mediaTypeRaw`, `cms_section.backgroundMedia`.`meta_data` as `cms_section.backgroundMedia.metaData`, `cms_section.backgroundMedia`.`private` as `cms_section.backgroundMedia.private`, `cms_section.backgroundMedia`.`thumbnails_ro` as `cms_section.backgroundMedia.thumbnailsRo`, `cms_section.backgroundMedia`.`created_at` as `cms_section.backgroundMedia.createdAt`, `cms_section.backgroundMedia`.`updated_at` as `cms_section.backgroundMedia.updatedAt`, `cms_section.backgroundMedia.translation.title`, COALESCE(`cms_section.backgroundMedia.translation.title`,`cms_section.backgroundMedia.translation.title`) as `cms_section.backgroundMedia.title`, `cms_section.backgroundMedia.translation.alt`, COALESCE(`cms_section.backgroundMedia.translation.alt`,`cms_section.backgroundMedia.translation.alt`) as `cms_section.backgroundMedia.alt`, `cms_section.backgroundMedia.translation.customFields`, COALESCE(`cms_section.backgroundMedia.translation.customFields`,`cms_section.backgroundMedia.translation.customFields`) as `cms_section.backgroundMedia.customFields`, `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation.languageId` FROM `cms_section` LEFT JOIN `media` `cms_section.backgroundMedia` ON `cms_section`.`background_media_id` = `cms_section.backgroundMedia`.`id` LEFT JOIN (SELECT `cms_section.backgroundMedia.translation`.media_id, `cms_section.backgroundMedia.translation`.title as `cms_section.backgroundMedia.translation.title`, `cms_section.backgroundMedia.translation`.alt as `cms_section.backgroundMedia.translation.alt`, `cms_section.backgroundMedia.translation`.custom_fields as `cms_section.backgroundMedia.translation.customFields`, `cms_section.backgroundMedia.translation`.created_at as `cms_section.backgroundMedia.translation.createdAt`, `cms_section.backgroundMedia.translation`.updated_at as `cms_section.backgroundMedia.translation.updatedAt`, `cms_section.backgroundMedia.translation`.media_id as `cms_section.backgroundMedia.translation.mediaId`, `cms_section.backgroundMedia.translation`.language_id as `cms_section.backgroundMedia.translation.languageId` FROM `media_translation` `cms_section.backgroundMedia.translation` WHERE `cms_section.backgroundMedia.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `cms_section.backgroundMedia.media_translation` ON `cms_section.backgroundMedia.media_translation`.`media_id` = `cms_section.backgroundMedia`.`id` WHERE (`cms_section`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`cms_section`.`cms_page_id` IN (0x81AD50723E174C2782E9690CE33D68C6)));
array:41 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 503)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToManyWithoutPagination (line 438)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadOneToMany (line 1210)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
12 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
13 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 59)"
16 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
17 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
18 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
19 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
20 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
21 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
25 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
26 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
27 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
31 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
32 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
33 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
34 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
35 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
37 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
38 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
39 => "Shopware\Core\HttpKernel::doHandle (line 81)"
40 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
26 |
2.54 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_254e82c70cda418a82f0b91ee5716b37)))
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_254e82c70cda418a82f0b91ee5716b37
)
)
)
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 |
4.55 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_94a43d3c9a7441d2b01b9b0cefcece10)))
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.34 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 |
4.91 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_2b4cdd62a7ab42b486da3cc3f34c85fc) AND `product.visibilities`.`sales_channel_id` = :param_f032b941c9fd407595ff5b7cd2c6220a)) `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_e098809eed414b6f82d1fe26b91843b5) AND `product.visibilities`.`sales_channel_id` = :param_07f1487dac5f4b1c8c32ed284bb724d1)) `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_0fa30d2c97d5450d8d3b89624208453f 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_185bb49a1bf847b08eee305ea725a0ab 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_684b8dd80fee4223b57685f60f6e2252) 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_1e60f959bd4742a199b53b35f9e56303 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_88dae3df35df43c58279f81370be7ca2) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_5c3cd4f70e064e0cb7517d460d8c4b90))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_ceafe248b2714b1283e4dd623df3d835))) 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_2b4cdd62a7ab42b486da3cc3f34c85fc
)
AND `product.visibilities`.`sales_channel_id` = : param_f032b941c9fd407595ff5b7cd2c6220a
)
) `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_e098809eed414b6f82d1fe26b91843b5
)
AND `product.visibilities`.`sales_channel_id` = : param_07f1487dac5f4b1c8c32ed284bb724d1
)
) `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_0fa30d2c97d5450d8d3b89624208453f
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_185bb49a1bf847b08eee305ea725a0ab
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_684b8dd80fee4223b57685f60f6e2252
)
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_1e60f959bd4742a199b53b35f9e56303
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_88dae3df35df43c58279f81370be7ca2
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_5c3cd4f70e064e0cb7517d460d8c4b90
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_ceafe248b2714b1283e4dd623df3d835
)
)
)
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 |
35.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`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = :languageId) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = :languageId) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
(
SELECT
GROUP_CONCAT(
HEX(
`product.options.mapping`.`property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `product.options.mapping`
WHERE
`product.options.mapping`.`product_id` = `product`.`id`
) as `product.options.id_mapping`,
`product.unit`.`id` as `product.unit.id`,
`product.unit`.`created_at` as `product.unit.createdAt`,
`product.unit`.`updated_at` as `product.unit.updatedAt`,
`product.unit.translation.shortCode`,
COALESCE(
`product.unit.translation.shortCode`,
`product.unit.translation.shortCode`
) as `product.unit.shortCode`,
`product.unit.translation.name`,
COALESCE(
`product.unit.translation.name`,
`product.unit.translation.name`
) as `product.unit.name`,
`product.unit.translation.customFields`,
COALESCE(
`product.unit.translation.customFields`,
`product.unit.translation.customFields`
) as `product.unit.customFields`,
`product.unit.translation.createdAt`,
`product.unit.translation.updatedAt`,
`product.unit.translation.unitId`,
`product.unit.translation.languageId`,
`product.deliveryTime`.`id` as `product.deliveryTime.id`,
`product.deliveryTime`.`min` as `product.deliveryTime.min`,
`product.deliveryTime`.`max` as `product.deliveryTime.max`,
`product.deliveryTime`.`unit` as `product.deliveryTime.unit`,
`product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`,
`product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`,
`product.deliveryTime.translation.name`,
COALESCE(
`product.deliveryTime.translation.name`,
`product.deliveryTime.translation.name`
) as `product.deliveryTime.name`,
`product.deliveryTime.translation.customFields`,
COALESCE(
`product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation.customFields`
) as `product.deliveryTime.customFields`,
`product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation.languageId`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.unit.translation`.unit_id,
`product.unit.translation`.short_code as `product.unit.translation.shortCode`,
`product.unit.translation`.name as `product.unit.translation.name`,
`product.unit.translation`.custom_fields as `product.unit.translation.customFields`,
`product.unit.translation`.created_at as `product.unit.translation.createdAt`,
`product.unit.translation`.updated_at as `product.unit.translation.updatedAt`,
`product.unit.translation`.unit_id as `product.unit.translation.unitId`,
`product.unit.translation`.language_id as `product.unit.translation.languageId`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation`.language_id = : languageId
) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation`.delivery_time_id,
`product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`,
`product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`,
`product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`,
`product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`,
`product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`,
`product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation`.language_id = : languageId
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, (SELECT GROUP_CONCAT(HEX(`product.options.mapping`.`property_group_option_id`) SEPARATOR '||')
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping`.`product_id` = `product`.`id` ) as `product.options.id_mapping`, `product.unit`.`id` as `product.unit.id`, `product.unit`.`created_at` as `product.unit.createdAt`, `product.unit`.`updated_at` as `product.unit.updatedAt`, `product.unit.translation.shortCode`, COALESCE(`product.unit.translation.shortCode`,`product.unit.translation.shortCode`) as `product.unit.shortCode`, `product.unit.translation.name`, COALESCE(`product.unit.translation.name`,`product.unit.translation.name`) as `product.unit.name`, `product.unit.translation.customFields`, COALESCE(`product.unit.translation.customFields`,`product.unit.translation.customFields`) as `product.unit.customFields`, `product.unit.translation.createdAt`, `product.unit.translation.updatedAt`, `product.unit.translation.unitId`, `product.unit.translation.languageId`, `product.deliveryTime`.`id` as `product.deliveryTime.id`, `product.deliveryTime`.`min` as `product.deliveryTime.min`, `product.deliveryTime`.`max` as `product.deliveryTime.max`, `product.deliveryTime`.`unit` as `product.deliveryTime.unit`, `product.deliveryTime`.`created_at` as `product.deliveryTime.createdAt`, `product.deliveryTime`.`updated_at` as `product.deliveryTime.updatedAt`, `product.deliveryTime.translation.name`, COALESCE(`product.deliveryTime.translation.name`,`product.deliveryTime.translation.name`) as `product.deliveryTime.name`, `product.deliveryTime.translation.customFields`, COALESCE(`product.deliveryTime.translation.customFields`,`product.deliveryTime.translation.customFields`) as `product.deliveryTime.customFields`, `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation.languageId`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `unit` `product.unit` ON `product`.`unit` = `product.unit`.`id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product`.`deliveryTime` = `product.deliveryTime`.`id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.unit.translation`.unit_id, `product.unit.translation`.short_code as `product.unit.translation.shortCode`, `product.unit.translation`.name as `product.unit.translation.name`, `product.unit.translation`.custom_fields as `product.unit.translation.customFields`, `product.unit.translation`.created_at as `product.unit.translation.createdAt`, `product.unit.translation`.updated_at as `product.unit.translation.updatedAt`, `product.unit.translation`.unit_id as `product.unit.translation.unitId`, `product.unit.translation`.language_id as `product.unit.translation.languageId` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.unit.unit_translation` ON `product.unit.unit_translation`.`unit_id` = `product.unit`.`id` LEFT JOIN (SELECT `product.deliveryTime.translation`.delivery_time_id, `product.deliveryTime.translation`.name as `product.deliveryTime.translation.name`, `product.deliveryTime.translation`.custom_fields as `product.deliveryTime.translation.customFields`, `product.deliveryTime.translation`.created_at as `product.deliveryTime.translation.createdAt`, `product.deliveryTime.translation`.updated_at as `product.deliveryTime.translation.updatedAt`, `product.deliveryTime.translation`.delivery_time_id as `product.deliveryTime.translation.deliveryTimeId`, `product.deliveryTime.translation`.language_id as `product.deliveryTime.translation.languageId` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation`.`delivery_time_id` = `product.deliveryTime`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x1AC13C0695234DB1962D5899CC4EA096, 0x12399480A05A4762B2F1F9ADE33FE485));
array:36 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
6 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
7 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
8 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
9 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
10 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
11 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
12 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
13 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
14 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
15 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
16 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
17 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
18 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
20 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
21 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
22 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
23 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
25 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
27 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
29 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
30 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
31 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
32 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
33 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
34 => "Shopware\Core\HttpKernel::doHandle (line 81)"
35 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
31 |
1.00 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_14aa7755112f4932bc71daeb27442aa4)))
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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.12 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.00 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.28 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_c5e6ac1f42bf4a029f463bf217ee9f53) AND `product.visibilities`.`sales_channel_id` = :param_f62290934acc4fd784ab76fd03281979)) `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_6b8b5adf52744e699d990fec99a13bf6) AND `product.visibilities`.`sales_channel_id` = :param_5bb4572a862049ef9a735bdbaf92e237)) `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_84871ab169f34194be3927647bc9aaa1 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_38ef4c2d7a3d4ad8b58f93e3f063aed7 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_ffe5c6af75794755a3ec66d6dee495ca) 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_df5de0c10b434a20969166ad4b89a746 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_c1e3c6b857bb4497bdb591df4c0b2741) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_1302fa4d7960436c9282d57db8d9705f))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_8979f24f20b5406ba91787db2f35484d))) 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_c5e6ac1f42bf4a029f463bf217ee9f53
)
AND `product.visibilities`.`sales_channel_id` = : param_f62290934acc4fd784ab76fd03281979
)
) `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_6b8b5adf52744e699d990fec99a13bf6
)
AND `product.visibilities`.`sales_channel_id` = : param_5bb4572a862049ef9a735bdbaf92e237
)
) `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_84871ab169f34194be3927647bc9aaa1
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_38ef4c2d7a3d4ad8b58f93e3f063aed7
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_ffe5c6af75794755a3ec66d6dee495ca
)
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_df5de0c10b434a20969166ad4b89a746
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_c1e3c6b857bb4497bdb591df4c0b2741
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_1302fa4d7960436c9282d57db8d9705f
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_8979f24f20b5406ba91787db2f35484d
)
)
)
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 |
30.77 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 |
2.29 ms |
SELECT `property_group_option`.`id` as `property_group_option.id`, `property_group_option`.`property_group_id` as `property_group_option.groupId`, `property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`, `property_group_option`.`media_id` as `property_group_option.mediaId`, `property_group_option`.`created_at` as `property_group_option.createdAt`, `property_group_option`.`updated_at` as `property_group_option.updatedAt`, `property_group_option.group`.`id` as `property_group_option.group.id`, `property_group_option.group`.`display_type` as `property_group_option.group.displayType`, `property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`, `property_group_option.group`.`filterable` as `property_group_option.group.filterable`, `property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`, `property_group_option.group`.`created_at` as `property_group_option.group.createdAt`, `property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`, `property_group_option.group.translation.name`, COALESCE(`property_group_option.group.translation.name`,`property_group_option.group.translation.name`) as `property_group_option.group.name`, `property_group_option.group.translation.description`, COALESCE(`property_group_option.group.translation.description`,`property_group_option.group.translation.description`) as `property_group_option.group.description`, `property_group_option.group.translation.position`, COALESCE(`property_group_option.group.translation.position`,`property_group_option.group.translation.position`) as `property_group_option.group.position`, `property_group_option.group.translation.customFields`, COALESCE(`property_group_option.group.translation.customFields`,`property_group_option.group.translation.customFields`) as `property_group_option.group.customFields`, `property_group_option.group.translation.createdAt`, `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation.languageId`, `property_group_option.translation.name`, COALESCE(`property_group_option.translation.name`,`property_group_option.translation.name`) as `property_group_option.name`, `property_group_option.translation.position`, COALESCE(`property_group_option.translation.position`,`property_group_option.translation.position`) as `property_group_option.position`, `property_group_option.translation.customFields`, COALESCE(`property_group_option.translation.customFields`,`property_group_option.translation.customFields`) as `property_group_option.customFields`, `property_group_option.translation.createdAt`, `property_group_option.translation.updatedAt`, `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation.languageId` FROM `property_group_option` LEFT JOIN (SELECT `property_group_option.translation`.property_group_option_id, `property_group_option.translation`.name as `property_group_option.translation.name`, `property_group_option.translation`.position as `property_group_option.translation.position`, `property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`, `property_group_option.translation`.created_at as `property_group_option.translation.createdAt`, `property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`, `property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation`.language_id as `property_group_option.translation.languageId` FROM `property_group_option_translation` `property_group_option.translation` WHERE `property_group_option.translation`.language_id = :languageId) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id` LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id` LEFT JOIN (SELECT `property_group_option.group.translation`.property_group_id, `property_group_option.group.translation`.name as `property_group_option.group.translation.name`, `property_group_option.group.translation`.description as `property_group_option.group.translation.description`, `property_group_option.group.translation`.position as `property_group_option.group.translation.position`, `property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`, `property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`, `property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId` FROM `property_group_translation` `property_group_option.group.translation` WHERE `property_group_option.group.translation`.language_id = :languageId) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id` WHERE `property_group_option`.`id` IN (:ids)
SELECT
`property_group_option`.`id` as `property_group_option.id`,
`property_group_option`.`property_group_id` as `property_group_option.groupId`,
`property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`,
`property_group_option`.`media_id` as `property_group_option.mediaId`,
`property_group_option`.`created_at` as `property_group_option.createdAt`,
`property_group_option`.`updated_at` as `property_group_option.updatedAt`,
`property_group_option.group`.`id` as `property_group_option.group.id`,
`property_group_option.group`.`display_type` as `property_group_option.group.displayType`,
`property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`,
`property_group_option.group`.`filterable` as `property_group_option.group.filterable`,
`property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`,
`property_group_option.group`.`created_at` as `property_group_option.group.createdAt`,
`property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`,
`property_group_option.group.translation.name`,
COALESCE(
`property_group_option.group.translation.name`,
`property_group_option.group.translation.name`
) as `property_group_option.group.name`,
`property_group_option.group.translation.description`,
COALESCE(
`property_group_option.group.translation.description`,
`property_group_option.group.translation.description`
) as `property_group_option.group.description`,
`property_group_option.group.translation.position`,
COALESCE(
`property_group_option.group.translation.position`,
`property_group_option.group.translation.position`
) as `property_group_option.group.position`,
`property_group_option.group.translation.customFields`,
COALESCE(
`property_group_option.group.translation.customFields`,
`property_group_option.group.translation.customFields`
) as `property_group_option.group.customFields`,
`property_group_option.group.translation.createdAt`,
`property_group_option.group.translation.updatedAt`,
`property_group_option.group.translation.propertyGroupId`,
`property_group_option.group.translation.languageId`,
`property_group_option.translation.name`,
COALESCE(
`property_group_option.translation.name`,
`property_group_option.translation.name`
) as `property_group_option.name`,
`property_group_option.translation.position`,
COALESCE(
`property_group_option.translation.position`,
`property_group_option.translation.position`
) as `property_group_option.position`,
`property_group_option.translation.customFields`,
COALESCE(
`property_group_option.translation.customFields`,
`property_group_option.translation.customFields`
) as `property_group_option.customFields`,
`property_group_option.translation.createdAt`,
`property_group_option.translation.updatedAt`,
`property_group_option.translation.propertyGroupOptionId`,
`property_group_option.translation.languageId`
FROM
`property_group_option`
LEFT JOIN (
SELECT
`property_group_option.translation`.property_group_option_id,
`property_group_option.translation`.name as `property_group_option.translation.name`,
`property_group_option.translation`.position as `property_group_option.translation.position`,
`property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`,
`property_group_option.translation`.created_at as `property_group_option.translation.createdAt`,
`property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`,
`property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`,
`property_group_option.translation`.language_id as `property_group_option.translation.languageId`
FROM
`property_group_option_translation` `property_group_option.translation`
WHERE
`property_group_option.translation`.language_id = : languageId
) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id`
LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id`
LEFT JOIN (
SELECT
`property_group_option.group.translation`.property_group_id,
`property_group_option.group.translation`.name as `property_group_option.group.translation.name`,
`property_group_option.group.translation`.description as `property_group_option.group.translation.description`,
`property_group_option.group.translation`.position as `property_group_option.group.translation.position`,
`property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`,
`property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`,
`property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`,
`property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`,
`property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId`
FROM
`property_group_translation` `property_group_option.group.translation`
WHERE
`property_group_option.group.translation`.language_id = : languageId
) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id`
WHERE
`property_group_option`.`id` IN (: ids)
SELECT `property_group_option`.`id` as `property_group_option.id`, `property_group_option`.`property_group_id` as `property_group_option.groupId`, `property_group_option`.`color_hex_code` as `property_group_option.colorHexCode`, `property_group_option`.`media_id` as `property_group_option.mediaId`, `property_group_option`.`created_at` as `property_group_option.createdAt`, `property_group_option`.`updated_at` as `property_group_option.updatedAt`, `property_group_option.group`.`id` as `property_group_option.group.id`, `property_group_option.group`.`display_type` as `property_group_option.group.displayType`, `property_group_option.group`.`sorting_type` as `property_group_option.group.sortingType`, `property_group_option.group`.`filterable` as `property_group_option.group.filterable`, `property_group_option.group`.`visible_on_product_detail_page` as `property_group_option.group.visibleOnProductDetailPage`, `property_group_option.group`.`created_at` as `property_group_option.group.createdAt`, `property_group_option.group`.`updated_at` as `property_group_option.group.updatedAt`, `property_group_option.group.translation.name`, COALESCE(`property_group_option.group.translation.name`,`property_group_option.group.translation.name`) as `property_group_option.group.name`, `property_group_option.group.translation.description`, COALESCE(`property_group_option.group.translation.description`,`property_group_option.group.translation.description`) as `property_group_option.group.description`, `property_group_option.group.translation.position`, COALESCE(`property_group_option.group.translation.position`,`property_group_option.group.translation.position`) as `property_group_option.group.position`, `property_group_option.group.translation.customFields`, COALESCE(`property_group_option.group.translation.customFields`,`property_group_option.group.translation.customFields`) as `property_group_option.group.customFields`, `property_group_option.group.translation.createdAt`, `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation.languageId`, `property_group_option.translation.name`, COALESCE(`property_group_option.translation.name`,`property_group_option.translation.name`) as `property_group_option.name`, `property_group_option.translation.position`, COALESCE(`property_group_option.translation.position`,`property_group_option.translation.position`) as `property_group_option.position`, `property_group_option.translation.customFields`, COALESCE(`property_group_option.translation.customFields`,`property_group_option.translation.customFields`) as `property_group_option.customFields`, `property_group_option.translation.createdAt`, `property_group_option.translation.updatedAt`, `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation.languageId` FROM `property_group_option` LEFT JOIN (SELECT `property_group_option.translation`.property_group_option_id, `property_group_option.translation`.name as `property_group_option.translation.name`, `property_group_option.translation`.position as `property_group_option.translation.position`, `property_group_option.translation`.custom_fields as `property_group_option.translation.customFields`, `property_group_option.translation`.created_at as `property_group_option.translation.createdAt`, `property_group_option.translation`.updated_at as `property_group_option.translation.updatedAt`, `property_group_option.translation`.property_group_option_id as `property_group_option.translation.propertyGroupOptionId`, `property_group_option.translation`.language_id as `property_group_option.translation.languageId` FROM `property_group_option_translation` `property_group_option.translation` WHERE `property_group_option.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `property_group_option.property_group_option_translation` ON `property_group_option.property_group_option_translation`.`property_group_option_id` = `property_group_option`.`id` LEFT JOIN `property_group` `property_group_option.group` ON `property_group_option`.`property_group_id` = `property_group_option.group`.`id` LEFT JOIN (SELECT `property_group_option.group.translation`.property_group_id, `property_group_option.group.translation`.name as `property_group_option.group.translation.name`, `property_group_option.group.translation`.description as `property_group_option.group.translation.description`, `property_group_option.group.translation`.position as `property_group_option.group.translation.position`, `property_group_option.group.translation`.custom_fields as `property_group_option.group.translation.customFields`, `property_group_option.group.translation`.created_at as `property_group_option.group.translation.createdAt`, `property_group_option.group.translation`.updated_at as `property_group_option.group.translation.updatedAt`, `property_group_option.group.translation`.property_group_id as `property_group_option.group.translation.propertyGroupId`, `property_group_option.group.translation`.language_id as `property_group_option.group.translation.languageId` FROM `property_group_translation` `property_group_option.group.translation` WHERE `property_group_option.group.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `property_group_option.group.property_group_translation` ON `property_group_option.group.property_group_translation`.`property_group_id` = `property_group_option.group`.`id` WHERE `property_group_option`.`id` IN (0xC9FCA83BB5384F9FADB3B5FEE544D3C9);
array:40 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 683)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadManyToManyOverExtension (line 347)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::loadManyToMany (line 1216)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetchAssociations (line 152)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 195)"
10 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
11 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
12 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
13 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
14 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
15 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
16 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
17 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
18 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
19 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
20 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
21 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
22 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
23 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
24 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
25 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
26 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
27 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
29 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
30 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
31 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
33 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
34 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
35 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
36 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
37 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
38 => "Shopware\Core\HttpKernel::doHandle (line 81)"
39 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
38 |
0.99 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_76a072f2461d46c09006839458497fde)))
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.84 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.70 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x7E400E2572B447458789E1E3EDFAB37F));
array:49 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 147)"
21 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::fetchByCriteria (line 85)"
22 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
23 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
24 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
25 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
26 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
27 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
29 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
31 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
33 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
34 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
36 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
38 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
39 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
40 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
42 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
43 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
44 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
45 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
46 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
47 => "Shopware\Core\HttpKernel::doHandle (line 81)"
48 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
41 |
0.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.33 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` 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_43db97fca55a48ceab6497777b16d76d) AND `product.visibilities`.`sales_channel_id` = :param_a5c68d2644fc4a63a4c95328508462eb)) `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_ef33a13b1ebb4919bc63f61dd1fc6c90) AND `product.visibilities`.`sales_channel_id` = :param_8e8509341f99423a915c3772c2d34b42)) `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_a82e52bfa65c4b26b5231e7edbedc632 OR `product`.`parent_id` = :param_8f94c8680f3c45a0b79d81f5dd0f4f14)) OR ((`product`.`id` = :param_1ce585fd47614748a8b70c6d6cff07c5 OR `product`.`parent_id` = :param_ef220b96c62948dd82dc34ed30bac53d))) AND NOT (`product`.`display_group` <=> :param_357a1f0a0fa742f2bb70ac35b6b1b001) 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_2a6988b948a74851b563f4ce7af3debd 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_7df81e64e9da4d3b8dafb9dcc56a02d9 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_4b54de46ee8745e0a5b9602c6afef7cd) 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_f4f1a3ff02e341bfa04bf8f23825f53f 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_9e726d1b41c74837a47631f357fc5ced) AND (`product.visibilities_1`.id IS NOT NULL AND `product.visibilities_1`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_c1ee6967e98e486ca33125f0d560437e))) AND (`product.visibilities_2`.id IS NOT NULL AND `product.visibilities_2`.id IS NOT NULL AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_90c544e7bb184698bcd062f279032b59))) 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_43db97fca55a48ceab6497777b16d76d
)
AND `product.visibilities`.`sales_channel_id` = : param_a5c68d2644fc4a63a4c95328508462eb
)
) `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_ef33a13b1ebb4919bc63f61dd1fc6c90
)
AND `product.visibilities`.`sales_channel_id` = : param_8e8509341f99423a915c3772c2d34b42
)
) `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_a82e52bfa65c4b26b5231e7edbedc632
OR `product`.`parent_id` = : param_8f94c8680f3c45a0b79d81f5dd0f4f14
)
)
OR (
(
`product`.`id` = : param_1ce585fd47614748a8b70c6d6cff07c5
OR `product`.`parent_id` = : param_ef220b96c62948dd82dc34ed30bac53d
)
)
)
AND NOT (
`product`.`display_group` <=> : param_357a1f0a0fa742f2bb70ac35b6b1b001
)
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_2a6988b948a74851b563f4ce7af3debd
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_7df81e64e9da4d3b8dafb9dcc56a02d9
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_4b54de46ee8745e0a5b9602c6afef7cd
)
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_f4f1a3ff02e341bfa04bf8f23825f53f
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_9e726d1b41c74837a47631f357fc5ced
)
AND (
`product.visibilities_1`.id IS NOT NULL
AND `product.visibilities_1`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_c1ee6967e98e486ca33125f0d560437e
)
)
)
AND (
`product.visibilities_2`.id IS NOT NULL
AND `product.visibilities_2`.id IS NOT NULL
AND IFNULL(
`product`.`active`, `product.parent`.`active`
) = : param_90c544e7bb184698bcd062f279032b59
)
)
)
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 |
33.20 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.18 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_dae6ddda775544d4a7761270a5f62e23)))
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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.38 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_6572772dc02f4b5a9b52f9b577a058ed AND ((`product.visibilities`.`visibility` >= :param_7fe9f22721074174b97e0c26ee3d2ed9) AND `product.visibilities`.`sales_channel_id` = :param_855dd95cbe4d4e489a81cde5ab618f5e AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_dfbc5452a54e4bc1a6994d6846d8396a))) 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 |
31.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`, `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.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_5f099a239ddd4697aa2cf8772dcccf5f)))
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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') LIMIT 1;
array:45 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
13 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
14 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
15 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
16 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
17 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
18 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
19 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
20 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
21 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
22 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
23 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
24 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
25 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
26 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
27 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
28 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
29 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
30 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
31 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
32 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
36 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
37 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
38 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
39 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
40 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
41 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
42 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
43 => "Shopware\Core\HttpKernel::doHandle (line 81)"
44 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
50 |
22.35 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (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.60 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.86 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.58 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
25.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 (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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
25.02 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.84 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.64 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((`product`.`parent_id` = :param_9765605c361242d2899cdc4c49cdc948 AND ((`product.visibilities`.`visibility` >= :param_cf20fe50f6b54a86be0c19eb36da9f60) AND `product.visibilities`.`sales_channel_id` = :param_e607b43b624c436492c4ba722b2b5a90 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_1271098a51f04f9cbc4f2fb15a08febe))) 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.89 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_0e35965281d444199cc4689a0987bd4d AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_230fe1543cd84e92990d4739c6df7f65 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_42bbff2efb354ceba492ae37f24fc1fd)))
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.51 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_6113ece545594c8aab21c0ed226589b9 AND ((`product.visibilities`.`visibility` >= :param_989bfaa121bd4d39858053e03b9b99da) AND `product.visibilities`.`sales_channel_id` = :param_6a0e1122bcbe4918a2c4c2945d10cb6c AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_580f186ddb4c412dac582e1e4ac57f91))) 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 |
55.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.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.76 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_e637489c8fad4728935b31042d731492)))
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.96 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.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)"
]
|
65 |
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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
22.77 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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
23.95 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
69 |
0.84 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
22.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)"
]
|
71 |
0.57 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.21 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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
20.75 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.35 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
77 |
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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.75 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`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.80 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.79 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (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.57 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
20.31 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
83 |
0.76 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
20.98 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.60 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
22.81 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
87 |
0.75 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
27.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)"
]
|
89 |
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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.27 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
91 |
0.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') LIMIT 1;
array:58 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 165)"
3 => "Shopware\Core\System\SalesChannel\Context\SalesChannelContextPersister::load (line 69)"
4 => "Bodymed\Webshop\Core\Subscriber\ProductSubscriber::addCustomerProductFeatureExtension (line 230)"
5 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
6 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
7 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
8 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
9 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
10 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
11 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
12 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 269)"
13 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
14 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
15 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
16 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
17 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
18 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
19 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
20 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
21 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
22 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
23 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
24 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
25 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
26 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
27 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
28 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
29 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
30 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
31 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
32 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
33 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
34 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
35 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
36 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
37 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
38 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
41 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
42 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
43 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
44 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
45 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
46 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
47 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
48 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
49 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
50 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
51 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
52 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
53 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
54 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
55 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
56 => "Shopware\Core\HttpKernel::doHandle (line 81)"
57 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
92 |
21.76 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.62 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
22.55 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
95 |
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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
22.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)"
]
|
97 |
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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
21.83 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`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.81 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
23.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)"
]
|
101 |
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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
22.17 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.34 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = :languageId) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = :languageId) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = :languageId) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = :version) AND (`product`.`id` IN (:ids))
SELECT
`product`.`id` as `product.id`,
`product`.`version_id` as `product.versionId`,
`product`.`parent_id` as `product.parentId`,
`product`.`parent_version_id` as `product.parentVersionId`,
COALESCE(
`product`.`product_manufacturer_id`,
`product.parent`.`product_manufacturer_id`
) as `product.manufacturerId`,
COALESCE(
`product`.`product_manufacturer_version_id`,
`product.parent`.`product_manufacturer_version_id`
) as `product.productManufacturerVersionId`,
COALESCE(
`product`.`unit_id`, `product.parent`.`unit_id`
) as `product.unitId`,
COALESCE(
`product`.`tax_id`, `product.parent`.`tax_id`
) as `product.taxId`,
COALESCE(
`product`.`product_media_id`, `product.parent`.`product_media_id`
) as `product.coverId`,
COALESCE(
`product`.`product_media_version_id`,
`product.parent`.`product_media_version_id`
) as `product.productMediaVersionId`,
COALESCE(
`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`
) as `product.deliveryTimeId`,
COALESCE(
`product`.`product_feature_set_id`,
`product.parent`.`product_feature_set_id`
) as `product.featureSetId`,
COALESCE(
`product`.`canonical_product_id`,
`product.parent`.`canonical_product_id`
) as `product.canonicalProductId`,
COALESCE(
`product`.`cms_page_id`, `product.parent`.`cms_page_id`
) as `product.cmsPageId`,
COALESCE(
`product`.`cms_page_version_id`,
`product.parent`.`cms_page_version_id`
) as `product.cmsPageVersionId`,
`product.parent`.`price` as `product.price.inherited`,
COALESCE(
`product`.`price`, `product.parent`.`price`
) as `product.price`,
`product`.`product_number` as `product.productNumber`,
`product`.`stock` as `product.stock`,
COALESCE(
`product`.`restock_time`, `product.parent`.`restock_time`
) as `product.restockTime`,
`product`.`auto_increment` as `product.autoIncrement`,
COALESCE(
`product`.`active`, `product.parent`.`active`
) as `product.active`,
`product`.`available_stock` as `product.availableStock`,
`product`.`available` as `product.available`,
COALESCE(
`product`.`is_closeout`, `product.parent`.`is_closeout`
) as `product.isCloseout`,
`product`.`display_group` as `product.displayGroup`,
`product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`,
COALESCE(
`product`.`configurator_group_config`,
`product.parent`.`configurator_group_config`
) as `product.configuratorGroupConfig`,
COALESCE(
`product`.`main_variant_id`, `product.parent`.`main_variant_id`
) as `product.mainVariantId`,
COALESCE(
`product`.`display_parent`, `product.parent`.`display_parent`
) as `product.displayParent`,
`product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`,
COALESCE(
`product`.`variant_listing_config`,
`product.parent`.`variant_listing_config`
) as `product.variantListingConfig`,
`product`.`variant_restrictions` as `product.variantRestrictions`,
COALESCE(
`product`.`manufacturer_number`,
`product.parent`.`manufacturer_number`
) as `product.manufacturerNumber`,
COALESCE(
`product`.`ean`, `product.parent`.`ean`
) as `product.ean`,
COALESCE(
`product`.`purchase_steps`, `product.parent`.`purchase_steps`
) as `product.purchaseSteps`,
COALESCE(
`product`.`max_purchase`, `product.parent`.`max_purchase`
) as `product.maxPurchase`,
COALESCE(
`product`.`min_purchase`, `product.parent`.`min_purchase`
) as `product.minPurchase`,
COALESCE(
`product`.`purchase_unit`, `product.parent`.`purchase_unit`
) as `product.purchaseUnit`,
COALESCE(
`product`.`reference_unit`, `product.parent`.`reference_unit`
) as `product.referenceUnit`,
COALESCE(
`product`.`shipping_free`, `product.parent`.`shipping_free`
) as `product.shippingFree`,
`product.parent`.`purchase_prices` as `product.purchasePrices.inherited`,
COALESCE(
`product`.`purchase_prices`, `product.parent`.`purchase_prices`
) as `product.purchasePrices`,
COALESCE(
`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`
) as `product.markAsTopseller`,
COALESCE(
`product`.`weight`, `product.parent`.`weight`
) as `product.weight`,
COALESCE(
`product`.`width`, `product.parent`.`width`
) as `product.width`,
COALESCE(
`product`.`height`, `product.parent`.`height`
) as `product.height`,
COALESCE(
`product`.`length`, `product.parent`.`length`
) as `product.length`,
COALESCE(
`product`.`release_date`, `product.parent`.`release_date`
) as `product.releaseDate`,
COALESCE(
`product`.`rating_average`, `product.parent`.`rating_average`
) as `product.ratingAverage`,
`product.parent`.`category_tree` as `product.categoryTree.inherited`,
COALESCE(
`product`.`category_tree`, `product.parent`.`category_tree`
) as `product.categoryTree`,
`product.parent`.`property_ids` as `product.propertyIds.inherited`,
COALESCE(
`product`.`property_ids`, `product.parent`.`property_ids`
) as `product.propertyIds`,
`product.parent`.`option_ids` as `product.optionIds.inherited`,
COALESCE(
`product`.`option_ids`, `product.parent`.`option_ids`
) as `product.optionIds`,
`product.parent`.`stream_ids` as `product.streamIds.inherited`,
COALESCE(
`product`.`stream_ids`, `product.parent`.`stream_ids`
) as `product.streamIds`,
`product.parent`.`tag_ids` as `product.tagIds.inherited`,
COALESCE(
`product`.`tag_ids`, `product.parent`.`tag_ids`
) as `product.tagIds`,
`product.parent`.`category_ids` as `product.categoryIds.inherited`,
COALESCE(
`product`.`category_ids`, `product.parent`.`category_ids`
) as `product.categoryIds`,
`product`.`child_count` as `product.childCount`,
COALESCE(
`product`.`custom_field_set_selection_active`,
`product.parent`.`custom_field_set_selection_active`
) as `product.customFieldSetSelectionActive`,
`product`.`sales` as `product.sales`,
`product`.`states` as `product.states`,
`product.tax`.`id` as `product.tax.id`,
`product.tax`.`tax_rate` as `product.tax.taxRate`,
`product.tax`.`name` as `product.tax.name`,
`product.tax`.`position` as `product.tax.position`,
`product.tax`.`custom_fields` as `product.tax.customFields`,
`product.tax`.`created_at` as `product.tax.createdAt`,
`product.tax`.`updated_at` as `product.tax.updatedAt`,
`product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`,
COALESCE(
`product`.`cheapest_price`, `product.parent`.`cheapest_price`
) as `product.cheapestPrice`,
`product`.`created_at` as `product.createdAt`,
`product`.`updated_at` as `product.updatedAt`,
`product.bundle`.`id` as `product.bundle.id`,
`product.bundle`.`product_id` as `product.bundle.productId`,
`product.bundle`.`product_version_id` as `product.bundle.productVersionId`,
`product.bundle`.`name` as `product.bundle.name`,
`product.bundle`.`price_type` as `product.bundle.priceType`,
`product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`,
`product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`,
`product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`,
`product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`,
`product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`,
`product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`,
`product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`,
`product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`,
`product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`,
`product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`,
`product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`,
`product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`,
`product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`,
`product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`,
`product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`,
`product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`,
`product.bundle`.`created_at` as `product.bundle.createdAt`,
`product.bundle`.`updated_at` as `product.bundle.updatedAt`,
`product.cover`.`id` as `product.cover.id`,
`product.cover`.`version_id` as `product.cover.versionId`,
`product.cover`.`product_id` as `product.cover.productId`,
`product.cover`.`product_version_id` as `product.cover.productVersionId`,
`product.cover`.`media_id` as `product.cover.mediaId`,
`product.cover`.`position` as `product.cover.position`,
`product.cover.media`.`id` as `product.cover.media.id`,
`product.cover.media`.`user_id` as `product.cover.media.userId`,
`product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`,
`product.cover.media`.`mime_type` as `product.cover.media.mimeType`,
`product.cover.media`.`file_extension` as `product.cover.media.fileExtension`,
`product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`,
`product.cover.media`.`file_name` as `product.cover.media.fileName`,
`product.cover.media`.`file_size` as `product.cover.media.fileSize`,
`product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`,
`product.cover.media`.`meta_data` as `product.cover.media.metaData`,
`product.cover.media`.`private` as `product.cover.media.private`,
`product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`,
`product.cover.media`.`created_at` as `product.cover.media.createdAt`,
`product.cover.media`.`updated_at` as `product.cover.media.updatedAt`,
`product.cover.media.translation.title`,
COALESCE(
`product.cover.media.translation.title`,
`product.cover.media.translation.title`
) as `product.cover.media.title`,
`product.cover.media.translation.alt`,
COALESCE(
`product.cover.media.translation.alt`,
`product.cover.media.translation.alt`
) as `product.cover.media.alt`,
`product.cover.media.translation.customFields`,
COALESCE(
`product.cover.media.translation.customFields`,
`product.cover.media.translation.customFields`
) as `product.cover.media.customFields`,
`product.cover.media.translation.createdAt`,
`product.cover.media.translation.updatedAt`,
`product.cover.media.translation.mediaId`,
`product.cover.media.translation.languageId`,
`product.cover`.`custom_fields` as `product.cover.customFields`,
`product.cover`.`created_at` as `product.cover.createdAt`,
`product.cover`.`updated_at` as `product.cover.updatedAt`,
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.parent.translation.metaDescription`,
`product.translation.metaDescription`
) as `product.metaDescription`,
`product.translation.name`,
`product.parent.translation.name`,
COALESCE(
`product.translation.name`, `product.parent.translation.name`,
`product.translation.name`
) as `product.name`,
`product.translation.keywords`,
`product.parent.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.parent.translation.keywords`,
`product.translation.keywords`
) as `product.keywords`,
`product.translation.description`,
`product.parent.translation.description`,
COALESCE(
`product.translation.description`,
`product.parent.translation.description`,
`product.translation.description`
) as `product.description`,
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.parent.translation.metaTitle`,
`product.translation.metaTitle`
) as `product.metaTitle`,
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.parent.translation.packUnit`,
`product.translation.packUnit`
) as `product.packUnit`,
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.parent.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) as `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.parent.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) as `product.customSearchKeywords`,
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.parent.translation.slotConfig`,
`product.translation.slotConfig`
) as `product.slotConfig`,
`product.translation.customFields`,
`product.parent.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.parent.translation.customFields`,
`product.translation.customFields`
) as `product.customFields`,
`product.translation.createdAt`,
`product.parent.translation.createdAt`,
`product.translation.updatedAt`,
`product.parent.translation.updatedAt`,
`product.translation.productId`,
`product.parent.translation.productId`,
`product.translation.languageId`,
`product.parent.translation.languageId`,
`product.translation.productVersionId`,
`product.parent.translation.productVersionId`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id`
AND `product`.`version_id` = `product.parent`.`version_id`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description as `product.translation.metaDescription`,
`product.translation`.name as `product.translation.name`,
`product.translation`.keywords as `product.translation.keywords`,
`product.translation`.description as `product.translation.description`,
`product.translation`.meta_title as `product.translation.metaTitle`,
`product.translation`.pack_unit as `product.translation.packUnit`,
`product.translation`.pack_unit_plural as `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`,
`product.translation`.slot_config as `product.translation.slotConfig`,
`product.translation`.custom_fields as `product.translation.customFields`,
`product.translation`.created_at as `product.translation.createdAt`,
`product.translation`.updated_at as `product.translation.updatedAt`,
`product.translation`.product_id as `product.translation.productId`,
`product.translation`.language_id as `product.translation.languageId`,
`product.translation`.product_version_id as `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = : languageId
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN (
SELECT
`product.parent.translation`.product_id,
`product.parent.translation`.product_version_id,
`product.parent.translation`.meta_description as `product.parent.translation.metaDescription`,
`product.parent.translation`.name as `product.parent.translation.name`,
`product.parent.translation`.keywords as `product.parent.translation.keywords`,
`product.parent.translation`.description as `product.parent.translation.description`,
`product.parent.translation`.meta_title as `product.parent.translation.metaTitle`,
`product.parent.translation`.pack_unit as `product.parent.translation.packUnit`,
`product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`,
`product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`,
`product.parent.translation`.slot_config as `product.parent.translation.slotConfig`,
`product.parent.translation`.custom_fields as `product.parent.translation.customFields`,
`product.parent.translation`.created_at as `product.parent.translation.createdAt`,
`product.parent.translation`.updated_at as `product.parent.translation.updatedAt`,
`product.parent.translation`.product_id as `product.parent.translation.productId`,
`product.parent.translation`.language_id as `product.parent.translation.languageId`,
`product.parent.translation`.product_version_id as `product.parent.translation.productVersionId`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation`.language_id = : languageId
) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id`
AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id`
LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id`
LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id`
AND `product`.`version_id` = `product.cover`.`version_id`
LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id`
LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id`
LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id`
LEFT JOIN (
SELECT
`product.cover.media.translation`.media_id,
`product.cover.media.translation`.title as `product.cover.media.translation.title`,
`product.cover.media.translation`.alt as `product.cover.media.translation.alt`,
`product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`,
`product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`,
`product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`,
`product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`,
`product.cover.media.translation`.language_id as `product.cover.media.translation.languageId`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation`.language_id = : languageId
) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id`
WHERE
(
`product`.`version_id` = : version
)
AND (
`product`.`id` IN (: ids)
)
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.cover`.`id` as `product.cover.id`, `product.cover`.`version_id` as `product.cover.versionId`, `product.cover`.`product_id` as `product.cover.productId`, `product.cover`.`product_version_id` as `product.cover.productVersionId`, `product.cover`.`media_id` as `product.cover.mediaId`, `product.cover`.`position` as `product.cover.position`, `product.cover.media`.`id` as `product.cover.media.id`, `product.cover.media`.`user_id` as `product.cover.media.userId`, `product.cover.media`.`media_folder_id` as `product.cover.media.mediaFolderId`, `product.cover.media`.`mime_type` as `product.cover.media.mimeType`, `product.cover.media`.`file_extension` as `product.cover.media.fileExtension`, `product.cover.media`.`uploaded_at` as `product.cover.media.uploadedAt`, `product.cover.media`.`file_name` as `product.cover.media.fileName`, `product.cover.media`.`file_size` as `product.cover.media.fileSize`, `product.cover.media`.`media_type` as `product.cover.media.mediaTypeRaw`, `product.cover.media`.`meta_data` as `product.cover.media.metaData`, `product.cover.media`.`private` as `product.cover.media.private`, `product.cover.media`.`thumbnails_ro` as `product.cover.media.thumbnailsRo`, `product.cover.media`.`created_at` as `product.cover.media.createdAt`, `product.cover.media`.`updated_at` as `product.cover.media.updatedAt`, `product.cover.media.translation.title`, COALESCE(`product.cover.media.translation.title`,`product.cover.media.translation.title`) as `product.cover.media.title`, `product.cover.media.translation.alt`, COALESCE(`product.cover.media.translation.alt`,`product.cover.media.translation.alt`) as `product.cover.media.alt`, `product.cover.media.translation.customFields`, COALESCE(`product.cover.media.translation.customFields`,`product.cover.media.translation.customFields`) as `product.cover.media.customFields`, `product.cover.media.translation.createdAt`, `product.cover.media.translation.updatedAt`, `product.cover.media.translation.mediaId`, `product.cover.media.translation.languageId`, `product.cover`.`custom_fields` as `product.cover.customFields`, `product.cover`.`created_at` as `product.cover.createdAt`, `product.cover`.`updated_at` as `product.cover.updatedAt`, `product.translation.metaDescription`, `product.parent.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.parent.translation.metaDescription`,`product.translation.metaDescription`) as `product.metaDescription`, `product.translation.name`, `product.parent.translation.name`, COALESCE(`product.translation.name`,`product.parent.translation.name`,`product.translation.name`) as `product.name`, `product.translation.keywords`, `product.parent.translation.keywords`, COALESCE(`product.translation.keywords`,`product.parent.translation.keywords`,`product.translation.keywords`) as `product.keywords`, `product.translation.description`, `product.parent.translation.description`, COALESCE(`product.translation.description`,`product.parent.translation.description`,`product.translation.description`) as `product.description`, `product.translation.metaTitle`, `product.parent.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.parent.translation.metaTitle`,`product.translation.metaTitle`) as `product.metaTitle`, `product.translation.packUnit`, `product.parent.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.parent.translation.packUnit`,`product.translation.packUnit`) as `product.packUnit`, `product.translation.packUnitPlural`, `product.parent.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.parent.translation.packUnitPlural`,`product.translation.packUnitPlural`) as `product.packUnitPlural`, `product.translation.customSearchKeywords`, `product.parent.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.parent.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) as `product.customSearchKeywords`, `product.translation.slotConfig`, `product.parent.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.parent.translation.slotConfig`,`product.translation.slotConfig`) as `product.slotConfig`, `product.translation.customFields`, `product.parent.translation.customFields`, COALESCE(`product.translation.customFields`,`product.parent.translation.customFields`,`product.translation.customFields`) as `product.customFields`, `product.translation.createdAt`, `product.parent.translation.createdAt`, `product.translation.updatedAt`, `product.parent.translation.updatedAt`, `product.translation.productId`, `product.parent.translation.productId`, `product.translation.languageId`, `product.parent.translation.languageId`, `product.translation.productVersionId`, `product.parent.translation.productVersionId` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description as `product.translation.metaDescription`, `product.translation`.name as `product.translation.name`, `product.translation`.keywords as `product.translation.keywords`, `product.translation`.description as `product.translation.description`, `product.translation`.meta_title as `product.translation.metaTitle`, `product.translation`.pack_unit as `product.translation.packUnit`, `product.translation`.pack_unit_plural as `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords as `product.translation.customSearchKeywords`, `product.translation`.slot_config as `product.translation.slotConfig`, `product.translation`.custom_fields as `product.translation.customFields`, `product.translation`.created_at as `product.translation.createdAt`, `product.translation`.updated_at as `product.translation.updatedAt`, `product.translation`.product_id as `product.translation.productId`, `product.translation`.language_id as `product.translation.languageId`, `product.translation`.product_version_id as `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN (SELECT `product.parent.translation`.product_id, `product.parent.translation`.product_version_id, `product.parent.translation`.meta_description as `product.parent.translation.metaDescription`, `product.parent.translation`.name as `product.parent.translation.name`, `product.parent.translation`.keywords as `product.parent.translation.keywords`, `product.parent.translation`.description as `product.parent.translation.description`, `product.parent.translation`.meta_title as `product.parent.translation.metaTitle`, `product.parent.translation`.pack_unit as `product.parent.translation.packUnit`, `product.parent.translation`.pack_unit_plural as `product.parent.translation.packUnitPlural`, `product.parent.translation`.custom_search_keywords as `product.parent.translation.customSearchKeywords`, `product.parent.translation`.slot_config as `product.parent.translation.slotConfig`, `product.parent.translation`.custom_fields as `product.parent.translation.customFields`, `product.parent.translation`.created_at as `product.parent.translation.createdAt`, `product.parent.translation`.updated_at as `product.parent.translation.updatedAt`, `product.parent.translation`.product_id as `product.parent.translation.productId`, `product.parent.translation`.language_id as `product.parent.translation.languageId`, `product.parent.translation`.product_version_id as `product.parent.translation.productVersionId` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation.parent` ON `product.product_translation.parent`.`product_id` = `product.parent`.`id` AND `product.product_translation.parent`.product_version_id = `product.parent`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax` = `product.tax`.`id` LEFT JOIN `bundle` `product.bundle` ON `product`.`id` = `product.bundle`.`product_id` LEFT JOIN `product_media` `product.cover` ON `product`.`cover` = `product.cover`.`id` AND `product`.`version_id` = `product.cover`.`version_id` LEFT JOIN `bundle_product_container` `product.bundle.mainProductContainer` ON `product.bundle`.`main_products_id` = `product.bundle.mainProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.freeProductContainer` ON `product.bundle`.`free_products_id` = `product.bundle.freeProductContainer`.`id` LEFT JOIN `bundle_product_container` `product.bundle.giftProductContainer` ON `product.bundle`.`gifts_id` = `product.bundle.giftProductContainer`.`id` LEFT JOIN `media` `product.cover.media` ON `product.cover`.`media_id` = `product.cover.media`.`id` LEFT JOIN (SELECT `product.cover.media.translation`.media_id, `product.cover.media.translation`.title as `product.cover.media.translation.title`, `product.cover.media.translation`.alt as `product.cover.media.translation.alt`, `product.cover.media.translation`.custom_fields as `product.cover.media.translation.customFields`, `product.cover.media.translation`.created_at as `product.cover.media.translation.createdAt`, `product.cover.media.translation`.updated_at as `product.cover.media.translation.updatedAt`, `product.cover.media.translation`.media_id as `product.cover.media.translation.mediaId`, `product.cover.media.translation`.language_id as `product.cover.media.translation.languageId` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.cover.media.media_translation` ON `product.cover.media.media_translation`.`media_id` = `product.cover.media`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND (`product`.`id` IN (0x03F4EF144EC44C3E822790C652F7C3F6));
array:51 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
9 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 103)"
10 => "Bodymed\Webshop\StoreFront\Subscriber\ProductExtensionSubscriber::addParentCover (line 230)"
11 => "Symfony\Component\EventDispatcher\EventDispatcher::callListeners (line 59)"
12 => "Symfony\Component\EventDispatcher\EventDispatcher::dispatch (line 56)"
13 => "Shopware\Core\Content\Flow\Dispatching\FlowDispatcher::dispatch (line 98)"
14 => "Shopware\Core\Framework\Webhook\WebhookDispatcher::dispatch (line 55)"
15 => "Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch (line 37)"
16 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 33)"
17 => "Shopware\Core\Framework\Event\NestedEventDispatcher::dispatch (line 154)"
18 => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::dispatch (line 208)"
19 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::read (line 133)"
20 => "Shopware\Core\System\SalesChannel\Entity\SalesChannelRepository::search (line 49)"
21 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariantsOfProduct (line 30)"
22 => "Bodymed\Webshop\Core\Content\Product\SalesChannel\Price\MadArticleVariantsListingPrice::getVariants (line 224)"
23 => "Bodymed\Webshop\Core\Content\Product\Cms\ProductSliderCmsElementResolver::enrich (line 99)"
24 => "Shopware\Core\Content\Cms\DataResolver\CmsSlotsDataResolver::resolve (line 104)"
25 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::loadSlotData (line 94)"
26 => "Shopware\Core\Content\Cms\SalesChannel\SalesChannelCmsPageLoader::load (line 102)"
27 => "Shopware\Core\Content\Category\SalesChannel\CategoryRoute::load (line 103)"
28 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 350)"
29 => "Shopware\Core\System\SystemConfig\SystemConfigService::trace (line 44)"
30 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 120)"
31 => "Shopware\Core\Framework\Adapter\Translation\Translator::trace (line 45)"
32 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::Shopware\Core\Framework\Adapter\Cache\{closure} (line 46)"
33 => "Shopware\Core\Framework\Adapter\Cache\CacheTagCollection::trace (line 46)"
34 => "Shopware\Core\Framework\Adapter\Cache\CacheTracer::trace (line 41)"
35 => "Shopware\Storefront\Framework\Cache\CacheTracer::Shopware\Storefront\Framework\Cache\{closure} (line 59)"
36 => "Shopware\Storefront\Theme\ThemeConfigValueAccessor::trace (line 42)"
37 => "Shopware\Storefront\Framework\Cache\CacheTracer::trace (line 104)"
38 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 72)"
39 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::doGet (line 35)"
40 => "Shopware\Core\Framework\Adapter\Cache\CacheDecorator::get (line 109)"
41 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::Shopware\Core\Content\Category\SalesChannel\{closure} (line 59)"
42 => "Shopware\Core\Profiling\Profiler::trace (line 112)"
43 => "Shopware\Core\Content\Category\SalesChannel\CachedCategoryRoute::load (line 66)"
44 => "Shopware\Storefront\Page\Navigation\NavigationPageLoader::load (line 48)"
45 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
46 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
47 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
48 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
49 => "Shopware\Core\HttpKernel::doHandle (line 81)"
50 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
105 |
0.68 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.63 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_5aa358f2e4d846af980665cea8c927f6 AND ((`product.visibilities`.`visibility` >= :param_fc47ca062f3a48da91b77818638f2949) AND `product.visibilities`.`sales_channel_id` = :param_49f95c95477d4330b50cdb9c0c887ec7 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_e37a1af577e6421995ddf5f0bbe7cf0a))) 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.92 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`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.13 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_19b925bac1fd43b9a68302e8cbe94977)))
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.81 ms |
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = :salesChannelId) AND (token = :token) LIMIT 1
SELECT * FROM sales_channel_api_context WHERE (sales_channel_id = 0x620A2217F7474E619CB00AD39E804CCA) AND (token = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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.03 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.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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
24.34 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 |
1.54 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 = 'ZlSVLTQf0HvBgncvgsp4gG0yLq0JbWM6') 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 |
2.05 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_cb66c0c3d4354117b5a3920984690425 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_85d1a672e9944ba68a9289cb85de5ead OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_f57fff0d909942cc9b4db31487a06ee8)))
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.74 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_2d3887f4254142838df098b1dbf405e2 AND (`swkweb_buy_x_pay_y_promotion`.`rule_id` <=> :param_02d11f12e852442abaa2d7516944c512 OR `swkweb_buy_x_pay_y_promotion`.`rule_id` IN (:param_ea44afd4e1354edea7132bed15455454)))
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.61 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_6291c2dd8bbb478480e9147e9a07d7a2)
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_6291c2dd8bbb478480e9147e9a07d7a2
)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = 1);
array:23 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 110)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 59)"
9 => "Shopware\Core\Profiling\Profiler::trace (line 111)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 51)"
11 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 119)"
12 => "Shopware\Core\Framework\App\Lifecycle\Persister\ScriptPersister::refresh (line 73)"
13 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::load (line 57)"
14 => "Shopware\Core\Framework\Script\Execution\ScriptLoader::get (line 71)"
15 => "Shopware\Core\Framework\Script\Execution\ScriptExecutor::execute (line 253)"
16 => "Shopware\Storefront\Controller\StorefrontController::hook (line 50)"
17 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
18 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
19 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
20 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
21 => "Shopware\Core\HttpKernel::doHandle (line 81)"
22 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
117 |
0.93 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.68 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.59 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.59 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 |
1.75 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_26009d3a4c564961b106ab14c70f8365 OR (`media`.`private` = :param_cc9438fffa274e679abc5903d0bc322d AND `media.mediaFolder.defaultFolder`.`entity` = :param_c83fd6811ebb45a0a3c07adf73852862)))) 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.07 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_c57e8541254d47adad32c0d4f87d6422 OR (`media`.`private` = :param_02525dd9c4a841e289eb9d5bc9d5d48b AND `media.mediaFolder.defaultFolder`.`entity` = :param_83363ba4749042ebb02a22e5b05672da)))) 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.57 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_1842e294ebda4149b038d32a9e43131b OR (`media`.`private` = :param_ad755fc21b5d45ba96a3221d1476ee50 AND `media.mediaFolder.defaultFolder`.`entity` = :param_2b99eefae02b43198fa5df8360a2c202)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x4D7ABC71D5B04C6C90D254556520A26C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
124 |
1.66 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_f7ca8290571a4406b9f9cce652938994 OR (`media`.`private` = :param_ead4e0b0341e43efbe257e5090b08ca4 AND `media.mediaFolder.defaultFolder`.`entity` = :param_c0d44a04ea8d4aa8a3bc404347f52bfa)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x880E333528C04932BB9571C9D79FACFF));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
125 |
1.76 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_232e00f87d0d4925a27eb17230a87307 OR (`media`.`private` = :param_8221fd6ca12d469b90faa936cbcf2dc2 AND `media.mediaFolder.defaultFolder`.`entity` = :param_4b180b5e73e24127b0f8a1512e866c43)))) 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.60 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_91bd08d4910c467687db9fbd0b6398ae OR (`media`.`private` = :param_d6e3101af00245f5bb606c10b72c0698 AND `media.mediaFolder.defaultFolder`.`entity` = :param_fc2109acaffc40d2915cabaa9259a8d8)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0xB4042A465F124F8794C8452F72875B08));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
127 |
1.73 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_4703ead1e9604de08f355613d5685d1e OR (`media`.`private` = :param_37aa93c6bb3c452a82af62bfdd215cba AND `media.mediaFolder.defaultFolder`.`entity` = :param_5566e8d836954644974203446b213fb7)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x0050B62BC9594FA79F777A48D3E43C3C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
128 |
1.67 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_a8e0f91755a448c4b1446de522f4b4df OR (`media`.`private` = :param_1dbbcf3016384238afecf9d7a2901d1f AND `media.mediaFolder.defaultFolder`.`entity` = :param_48962a9777e946f3a424f436853fc978)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x880E333528C04932BB9571C9D79FACFF));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
129 |
1.59 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_95d65a7fabb74a20888461a659eccb95 OR (`media`.`private` = :param_fb969f2bcc6346f4be33fdccb3a7a0e7 AND `media.mediaFolder.defaultFolder`.`entity` = :param_71b03f9b953f4ae2a6bd04ce0e9fb26a)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x00FF2C4AB637458096490933FF65F9F1));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
130 |
1.84 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_2630bebed1e7495e945d4de04d70606f OR (`media`.`private` = :param_bb114326fa024e5e8121b4569717ee9b AND `media.mediaFolder.defaultFolder`.`entity` = :param_b9f75ecf913c4a4f893b5d38dbfd5c4e)))) 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.10 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_cbbd4e03745b45babc4c62834dea13be OR (`media`.`private` = :param_3b0000be22184ba3b62523fe14c63898 AND `media.mediaFolder.defaultFolder`.`entity` = :param_50a22e7359b14fc9a9adec4684933c15)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x640E7FAAE33245398D1A01F0AA288030));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 354)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
132 |
1.77 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_042b1f28800b4b10881963ee02193885 OR (`media`.`private` = :param_8fc99f9b90bc41e49cd87a72a16abe61 AND `media.mediaFolder.defaultFolder`.`entity` = :param_40ac732ab87d4d40ab1f76270b9c9468)))) AND (`media`.`id` IN (:ids))
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = 0 OR (`media`.`private` = 1 AND `media.mediaFolder.defaultFolder`.`entity` = 'product_download')))) AND (`media`.`id` IN (0x4D7ABC71D5B04C6C90D254556520A26C));
array:101 [
0 => "Shopware\Core\Profiling\Doctrine\DebugStack::stopQuery (line 1323)"
1 => "Doctrine\DBAL\Connection::executeQuery (line 238)"
2 => "Doctrine\DBAL\Query\QueryBuilder::executeQuery (line 316)"
3 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::fetch (line 148)"
4 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::_read (line 93)"
5 => "Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader::read (line 257)"
6 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::read (line 286)"
7 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::_search (line 106)"
8 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepository::search (line 59)"
9 => "Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator::search (line 51)"
10 => "Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryForwardCompatibilityDecorator::search (line 46)"
11 => "Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension::searchMedia (line 257)"
12 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider_inner (line 171)"
13 => "Twig\Template::displayBlock (line 100)"
14 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::block_element_hero_slider (line 171)"
15 => "Twig\Template::displayBlock (line 53)"
16 => "__TwigTemplate_fd8d5b256d312c5be99b5c665c7d3c38::doDisplay (line 394)"
17 => "Twig\Template::displayWithErrorHandling (line 367)"
18 => "Twig\Template::display (line 63)"
19 => "__TwigTemplate_a73bc428d67ccf41d9eb06bc898c7144::doDisplay (line 394)"
20 => "Twig\Template::displayWithErrorHandling (line 367)"
21 => "Twig\Template::display (line 326)"
22 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_row (line 171)"
23 => "Twig\Template::displayBlock (line 285)"
24 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block_container (line 171)"
25 => "Twig\Template::displayBlock (line 213)"
26 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::block_section_content_block (line 171)"
27 => "Twig\Template::displayBlock (line 49)"
28 => "__TwigTemplate_de51fe3149c36c2d13038f03675e7186::doDisplay (line 394)"
29 => "Twig\Template::displayWithErrorHandling (line 367)"
30 => "Twig\Template::display (line 132)"
31 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_section_default_content_block (line 171)"
32 => "Twig\Template::displayBlock (line 94)"
33 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::block_page_content_section_default (line 171)"
34 => "Twig\Template::displayBlock (line 47)"
35 => "__TwigTemplate_2166dd94fe780598b8fdcf72ddd769c9::doDisplay (line 394)"
36 => "Twig\Template::displayWithErrorHandling (line 367)"
37 => "Twig\Template::display (line 221)"
38 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_section (line 171)"
39 => "Twig\Template::displayBlock (line 135)"
40 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::block_page_content_sections_inner (line 171)"
41 => "Twig\Template::displayBlock (line 47)"
42 => "__TwigTemplate_fe3011e8614935f2877430f24082e841::doDisplay (line 394)"
43 => "Twig\Template::displayWithErrorHandling (line 367)"
44 => "Twig\Template::display (line 50)"
45 => "__TwigTemplate_e550e0b90883c1187f499e90e2cd999a::doDisplay (line 394)"
46 => "Twig\Template::displayWithErrorHandling (line 367)"
47 => "Twig\Template::display (line 51)"
48 => "__TwigTemplate_2698d288dda261b2d5360419617c8736::doDisplay (line 394)"
49 => "Twig\Template::displayWithErrorHandling (line 367)"
50 => "Twig\Template::display (line 211)"
51 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content_blocks (line 171)"
52 => "Twig\Template::displayBlock (line 187)"
53 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_cms_content (line 171)"
54 => "Twig\Template::displayBlock (line 106)"
55 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_page_content (line 171)"
56 => "Twig\Template::displayBlock (line 77)"
57 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::block_base_main_inner (line 171)"
58 => "Twig\Template::displayBlock (line 504)"
59 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_main (line 171)"
60 => "Twig\Template::displayBlock (line 191)"
61 => "Twig\Template::displayBlock (line 134)"
62 => "Twig\Template::displayParentBlock (line 71)"
63 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::block_base_main (line 171)"
64 => "Twig\Template::displayBlock (line 283)"
65 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body_inner (line 171)"
66 => "Twig\Template::displayBlock (line 193)"
67 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::block_base_body (line 171)"
68 => "Twig\Template::displayBlock (line 97)"
69 => "__TwigTemplate_edfe32b5c98942de2b24393e846ea184::doDisplay (line 394)"
70 => "Twig\Template::displayWithErrorHandling (line 367)"
71 => "Twig\Template::display (line 49)"
72 => "__TwigTemplate_317ed82f740e5079054f5b72bb59033c::doDisplay (line 394)"
73 => "Twig\Template::displayWithErrorHandling (line 367)"
74 => "Twig\Template::display (line 50)"
75 => "__TwigTemplate_3d4777fcf75842349da241d4044d7d72::doDisplay (line 394)"
76 => "Twig\Template::displayWithErrorHandling (line 367)"
77 => "Twig\Template::display (line 50)"
78 => "__TwigTemplate_aa1832859ad5b25e9cc640dfcf28a0bc::doDisplay (line 394)"
79 => "Twig\Template::displayWithErrorHandling (line 367)"
80 => "Twig\Template::display (line 54)"
81 => "__TwigTemplate_e211483b8f79cca2335a3b08a30361c4::doDisplay (line 394)"
82 => "Twig\Template::displayWithErrorHandling (line 367)"
83 => "Twig\Template::display (line 52)"
84 => "__TwigTemplate_da551205fea81b0c3b361980c09151e2::doDisplay (line 394)"
85 => "Twig\Template::displayWithErrorHandling (line 367)"
86 => "Twig\Template::display (line 379)"
87 => "Twig\Template::render (line 40)"
88 => "Twig\TemplateWrapper::render (line 277)"
89 => "Twig\Environment::render (line 235)"
90 => "Shopware\Storefront\Controller\StorefrontController::renderView (line 266)"
91 => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::render (line 72)"
92 => "Shopware\Storefront\Controller\StorefrontController::Shopware\Storefront\Controller\{closure} (line 59)"
93 => "Shopware\Core\Profiling\Profiler::trace (line 73)"
94 => "Shopware\Storefront\Controller\StorefrontController::renderStorefront (line 52)"
95 => "Shopware\Storefront\Controller\NavigationController::home (line 163)"
96 => "Symfony\Component\HttpKernel\HttpKernel::handleRaw (line 75)"
97 => "Symfony\Component\HttpKernel\HttpKernel::handle (line 202)"
98 => "Symfony\Component\HttpKernel\Kernel::handle (line 156)"
99 => "Shopware\Core\HttpKernel::doHandle (line 81)"
100 => "Shopware\Core\HttpKernel::handle (line 75)"
]
|
133 |
1.80 ms |
SELECT `media`.`id` as `media.id`, `media`.`user_id` as `media.userId`, `media`.`media_folder_id` as `media.mediaFolderId`, `media`.`mime_type` as `media.mimeType`, `media`.`file_extension` as `media.fileExtension`, `media`.`uploaded_at` as `media.uploadedAt`, `media`.`file_name` as `media.fileName`, `media`.`file_size` as `media.fileSize`, `media`.`media_type` as `media.mediaTypeRaw`, `media`.`meta_data` as `media.metaData`, `media`.`private` as `media.private`, `media`.`thumbnails_ro` as `media.thumbnailsRo`, `media`.`created_at` as `media.createdAt`, `media`.`updated_at` as `media.updatedAt`, `media.translation.title`, COALESCE(`media.translation.title`,`media.translation.title`) as `media.title`, `media.translation.alt`, COALESCE(`media.translation.alt`,`media.translation.alt`) as `media.alt`, `media.translation.customFields`, COALESCE(`media.translation.customFields`,`media.translation.customFields`) as `media.customFields`, `media.translation.createdAt`, `media.translation.updatedAt`, `media.translation.mediaId`, `media.translation.languageId` FROM `media` LEFT JOIN `media_folder` `media.mediaFolder` ON `media`.`media_folder_id` = `media.mediaFolder`.`id` LEFT JOIN (SELECT `media.translation`.media_id, `media.translation`.title as `media.translation.title`, `media.translation`.alt as `media.translation.alt`, `media.translation`.custom_fields as `media.translation.customFields`, `media.translation`.created_at as `media.translation.createdAt`, `media.translation`.updated_at as `media.translation.updatedAt`, `media.translation`.media_id as `media.translation.mediaId`, `media.translation`.language_id as `media.translation.languageId` FROM `media_translation` `media.translation` WHERE `media.translation`.language_id = :languageId) `media.media_translation` ON `media.media_translation`.`media_id` = `media`.`id` LEFT JOIN `media_default_folder` `media.mediaFolder.defaultFolder` ON `media.mediaFolder`.`default_folder_id` = `media.mediaFolder.defaultFolder`.`id` WHERE (((`media`.`private` = :param_d0226a6993194af598d2a2ac7f0e3ddd OR (`media`.`private` = :param_146cfd5b18f746f9bc00748c73ca0639 AND `media.mediaFolder.defaultFolder`.`entity` = :param_8dec12b4b54a451fb25afddc483837de)))) 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 |
1.40 ms |
SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product`.`version_id` = :version) AND ((((`product.visibilities`.`visibility` >= :param_4b37936e14d64cc2adb9161e083ef45d) AND `product.visibilities`.`sales_channel_id` = :param_140b7c62dc804c9bb15af04f30da8a10 AND IFNULL(`product`.`active`, `product.parent`.`active`) = :param_6cbe9ff156064735be1273920212d000))) 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 |
30.46 ms |
SELECT `product`.`id` as `product.id`, `product`.`version_id` as `product.versionId`, `product`.`parent_id` as `product.parentId`, `product`.`parent_version_id` as `product.parentVersionId`, COALESCE(`product`.`product_manufacturer_id`, `product.parent`.`product_manufacturer_id`) as `product.manufacturerId`, COALESCE(`product`.`product_manufacturer_version_id`, `product.parent`.`product_manufacturer_version_id`) as `product.productManufacturerVersionId`, COALESCE(`product`.`unit_id`, `product.parent`.`unit_id`) as `product.unitId`, COALESCE(`product`.`tax_id`, `product.parent`.`tax_id`) as `product.taxId`, COALESCE(`product`.`product_media_id`, `product.parent`.`product_media_id`) as `product.coverId`, COALESCE(`product`.`product_media_version_id`, `product.parent`.`product_media_version_id`) as `product.productMediaVersionId`, COALESCE(`product`.`delivery_time_id`, `product.parent`.`delivery_time_id`) as `product.deliveryTimeId`, COALESCE(`product`.`product_feature_set_id`, `product.parent`.`product_feature_set_id`) as `product.featureSetId`, COALESCE(`product`.`canonical_product_id`, `product.parent`.`canonical_product_id`) as `product.canonicalProductId`, COALESCE(`product`.`cms_page_id`, `product.parent`.`cms_page_id`) as `product.cmsPageId`, COALESCE(`product`.`cms_page_version_id`, `product.parent`.`cms_page_version_id`) as `product.cmsPageVersionId`, `product.parent`.`price` as `product.price.inherited`, COALESCE(`product`.`price`, `product.parent`.`price`) as `product.price`, `product`.`product_number` as `product.productNumber`, `product`.`stock` as `product.stock`, COALESCE(`product`.`restock_time`, `product.parent`.`restock_time`) as `product.restockTime`, `product`.`auto_increment` as `product.autoIncrement`, COALESCE(`product`.`active`, `product.parent`.`active`) as `product.active`, `product`.`available_stock` as `product.availableStock`, `product`.`available` as `product.available`, COALESCE(`product`.`is_closeout`, `product.parent`.`is_closeout`) as `product.isCloseout`, `product`.`display_group` as `product.displayGroup`, `product.parent`.`configurator_group_config` as `product.configuratorGroupConfig.inherited`, COALESCE(`product`.`configurator_group_config`, `product.parent`.`configurator_group_config`) as `product.configuratorGroupConfig`, COALESCE(`product`.`main_variant_id`, `product.parent`.`main_variant_id`) as `product.mainVariantId`, COALESCE(`product`.`display_parent`, `product.parent`.`display_parent`) as `product.displayParent`, `product.parent`.`variant_listing_config` as `product.variantListingConfig.inherited`, COALESCE(`product`.`variant_listing_config`, `product.parent`.`variant_listing_config`) as `product.variantListingConfig`, `product`.`variant_restrictions` as `product.variantRestrictions`, COALESCE(`product`.`manufacturer_number`, `product.parent`.`manufacturer_number`) as `product.manufacturerNumber`, COALESCE(`product`.`ean`, `product.parent`.`ean`) as `product.ean`, COALESCE(`product`.`purchase_steps`, `product.parent`.`purchase_steps`) as `product.purchaseSteps`, COALESCE(`product`.`max_purchase`, `product.parent`.`max_purchase`) as `product.maxPurchase`, COALESCE(`product`.`min_purchase`, `product.parent`.`min_purchase`) as `product.minPurchase`, COALESCE(`product`.`purchase_unit`, `product.parent`.`purchase_unit`) as `product.purchaseUnit`, COALESCE(`product`.`reference_unit`, `product.parent`.`reference_unit`) as `product.referenceUnit`, COALESCE(`product`.`shipping_free`, `product.parent`.`shipping_free`) as `product.shippingFree`, `product.parent`.`purchase_prices` as `product.purchasePrices.inherited`, COALESCE(`product`.`purchase_prices`, `product.parent`.`purchase_prices`) as `product.purchasePrices`, COALESCE(`product`.`mark_as_topseller`, `product.parent`.`mark_as_topseller`) as `product.markAsTopseller`, COALESCE(`product`.`weight`, `product.parent`.`weight`) as `product.weight`, COALESCE(`product`.`width`, `product.parent`.`width`) as `product.width`, COALESCE(`product`.`height`, `product.parent`.`height`) as `product.height`, COALESCE(`product`.`length`, `product.parent`.`length`) as `product.length`, COALESCE(`product`.`release_date`, `product.parent`.`release_date`) as `product.releaseDate`, COALESCE(`product`.`rating_average`, `product.parent`.`rating_average`) as `product.ratingAverage`, `product.parent`.`category_tree` as `product.categoryTree.inherited`, COALESCE(`product`.`category_tree`, `product.parent`.`category_tree`) as `product.categoryTree`, `product.parent`.`property_ids` as `product.propertyIds.inherited`, COALESCE(`product`.`property_ids`, `product.parent`.`property_ids`) as `product.propertyIds`, `product.parent`.`option_ids` as `product.optionIds.inherited`, COALESCE(`product`.`option_ids`, `product.parent`.`option_ids`) as `product.optionIds`, `product.parent`.`stream_ids` as `product.streamIds.inherited`, COALESCE(`product`.`stream_ids`, `product.parent`.`stream_ids`) as `product.streamIds`, `product.parent`.`tag_ids` as `product.tagIds.inherited`, COALESCE(`product`.`tag_ids`, `product.parent`.`tag_ids`) as `product.tagIds`, `product.parent`.`category_ids` as `product.categoryIds.inherited`, COALESCE(`product`.`category_ids`, `product.parent`.`category_ids`) as `product.categoryIds`, `product`.`child_count` as `product.childCount`, COALESCE(`product`.`custom_field_set_selection_active`, `product.parent`.`custom_field_set_selection_active`) as `product.customFieldSetSelectionActive`, `product`.`sales` as `product.sales`, `product`.`states` as `product.states`, `product.tax`.`id` as `product.tax.id`, `product.tax`.`tax_rate` as `product.tax.taxRate`, `product.tax`.`name` as `product.tax.name`, `product.tax`.`position` as `product.tax.position`, `product.tax`.`custom_fields` as `product.tax.customFields`, `product.tax`.`created_at` as `product.tax.createdAt`, `product.tax`.`updated_at` as `product.tax.updatedAt`, `product.parent`.`cheapest_price` as `product.cheapestPrice.inherited`, COALESCE(`product`.`cheapest_price`, `product.parent`.`cheapest_price`) as `product.cheapestPrice`, `product`.`created_at` as `product.createdAt`, `product`.`updated_at` as `product.updatedAt`, `product.bundle`.`id` as `product.bundle.id`, `product.bundle`.`product_id` as `product.bundle.productId`, `product.bundle`.`product_version_id` as `product.bundle.productVersionId`, `product.bundle`.`name` as `product.bundle.name`, `product.bundle`.`price_type` as `product.bundle.priceType`, `product.bundle`.`noms_bundle_type` as `product.bundle.nomsBundleType`, `product.bundle`.`main_products_id` as `product.bundle.mainProductContainerId`, `product.bundle.mainProductContainer`.`id` as `product.bundle.mainProductContainer.id`, `product.bundle.mainProductContainer`.`bundle_id` as `product.bundle.mainProductContainer.bundleId`, `product.bundle.mainProductContainer`.`created_at` as `product.bundle.mainProductContainer.createdAt`, `product.bundle.mainProductContainer`.`updated_at` as `product.bundle.mainProductContainer.updatedAt`, `product.bundle`.`free_products_id` as `product.bundle.freeProductContainerId`, `product.bundle.freeProductContainer`.`id` as `product.bundle.freeProductContainer.id`, `product.bundle.freeProductContainer`.`bundle_id` as `product.bundle.freeProductContainer.bundleId`, `product.bundle.freeProductContainer`.`created_at` as `product.bundle.freeProductContainer.createdAt`, `product.bundle.freeProductContainer`.`updated_at` as `product.bundle.freeProductContainer.updatedAt`, `product.bundle`.`gifts_id` as `product.bundle.giftProductContainerId`, `product.bundle.giftProductContainer`.`id` as `product.bundle.giftProductContainer.id`, `product.bundle.giftProductContainer`.`bundle_id` as `product.bundle.giftProductContainer.bundleId`, `product.bundle.giftProductContainer`.`created_at` as `product.bundle.giftProductContainer.createdAt`, `product.bundle.giftProductContainer`.`updated_at` as `product.bundle.giftProductContainer.updatedAt`, `product.bundle`.`created_at` as `product.bundle.createdAt`, `product.bundle`.`updated_at` as `product.bundle.updatedAt`, `product.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 |
0.75 ms |
SELECT `product_price`.`id` as `product_price.id`, `product_price`.`version_id` as `product_price.versionId`, `product_price`.`product_id` as `product_price.productId`, `product_price`.`product_version_id` as `product_price.productVersionId`, `product_price`.`rule_id` as `product_price.ruleId`, `product_price`.`price` as `product_price.price`, `product_price`.`quantity_start` as `product_price.quantityStart`, `product_price`.`quantity_end` as `product_price.quantityEnd`, `product_price`.`custom_fields` as `product_price.customFields`, `product_price`.`created_at` as `product_price.createdAt`, `product_price`.`updated_at` as `product_price.updatedAt` FROM `product_price` WHERE (`product_price`.`version_id` = :version) AND ((`product_price`.`product_id` IN (:param_e2cb2a91c1614a6fbcd76cc8d99953f5)))
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)"
]
|