SnowdogApps / magento2-theme-blank-sass

SASS based version of Magento 2 Blank theme
MIT License
383 stars 150 forks source link

BUG: Can't set different theme per page/product using Custom Design Update #252

Closed tstricklin-atmosol closed 3 years ago

tstricklin-atmosol commented 3 years ago

I'm working with a merchant that had a custom theme developed by a different agency using Snowdog SASS blank as the base. I am meant to help them implement a minimal custom theme (based off LESS Luma) for a specific product launch. However, when I use the "Custom Design Update" feature to set the Luma theme for the product page, it seems to completely break the display of the page--no CSS loads. It doesn't do this if I have a different (non-Snowdog) theme set for the store view.

Is this a known issue? Is it something that an update to the Snowdog code would fix? Or any other workarounds?

Igloczek commented 3 years ago

It's probably related to the CSS files naming, that is diffrent in this theme in comparsion to blank/luma, and most of other themes that follow exactly same naming.

I never tried to apply completly diffrent theme as Custom Design Update, and don't realy want to, since it's not a good approach, but you may want to play with https://github.com/SnowdogApps/magento2-theme-blank-sass/blob/master/Magento_Theme/layout/default_head_blocks.xml in order to fix this weird incompatibility issue.

If you need more help, please provide more informations, because "no CSS load" is not enough to get what is actualy going on.

Igloczek commented 3 years ago

Closing due to inactivity.