I'm experiencing a weird issue: Let's say category A has a custom design. When I open the product via
domain.com/category-a/product.html the custom design applies correctly.
But when I open the product through Magento's canonical/Google sitemap url
domain.com/product.html the custom design won't apply.
How can I bypass that behaviour? I suppose that's because Magento doesn't know which category's custom design to apply as a product can have more than one category?
Layout structure is:
- custom design
- -> default
- -> category_custom