logo block through default.xml: theme-frontend-testbin/magento setup:static-content:deploy --theme="LAB51/test" en_US@pascaladriaansen Ignore this if you already know this. Luma inherits from the blank theme, so that explains why you see some elements from the blank theme. Since Luma is already a "child" theme, the Magento code seems to get confused when a theme inherits from luma. Some dependencies seem to break. That's been my experience. Could you try inheriting from the blank theme directly and see if the same behavior occurs?
@Ctucker9233 I'm not so sure that's what's going wrong here, since it works perfectly on category pages. We're using a theme that inherits from Luma on some sites already, and that works great site-wide. It's only problematic on the product page when a theme is applied to a product through a (scheduled) design update.
@pascaladriaansen I see.
See linked bug, I can reproduce this problem : the Theme is correctly applied in \Magento\Catalog\Helper\Product\View::initProductLayout, but only templates are changed, not layout XML updates...
I have a solution for this problem. We don't need to create a default.xml layout for theme. We just need to add custom layout or xml scripts in category custom design. It will apply to products anyway.
@pascaladriaansen, thank you for your report.
We've created internal ticket(s) MAGETWO-81935 to track progress on the issue.
I provided reference fast patch within https://github.com/magento/magento2/issues/8333
I think my issue is related to this. But I tried the patch and it does not work on 2.2.4.
See #16074
This seems to be due to the same bug that was causing the user agent exception to fail on product pages. Just pushed a change for this. See /pull/19124 . The product listing collector was changing the theme to the default one when collecting the data.
Hi @pascaladriaansen. Thank you for your report.
The issue has been fixed in magento/magento2#19124 by @drew7721 in 2.3-develop branch
Related commit(s):
The fix will be available with the upcoming 2.3.1 release.