Skip to content

Category design / theme update not inheriting correctly on product pages #7503

Closed
@pascaladriaansen

Description

@pascaladriaansen

Preconditions

  1. Magento 2.1.2, PHP 7.0.6, MySQL 14.14
  2. Environment: hypernode-vagrant & production Hypernode
  3. Happens in both developer and production mode

Steps to reproduce

  1. Set the theme for a specific storeview to Magento Blank via Content > Design > Configuration > Edit.
  2. Create and install a theme that inherits from Magento Luma. Add some layout changes. For this example, I created a theme that removes the logo block through default.xml: theme-frontend-test
  3. Deploy static content for the 'LAB51 Test' theme:
    bin/magento setup:static-content:deploy --theme="LAB51/test" en_US
  4. Apply the 'LAB51 Test' theme to a category via Products > Categories > Design > Theme. Be sure to check the "Apply Design to Products" checkbox.

Expected result

  1. When checking the category or a product page, you should not see the logo. It should look like the Luma theme was applied (e.g. the grey top bar and nav bar).

Actual result

  1. On the category page, the logo is removed correctly and it also looks like Luma.
    However on the product page, we see the Luma logo. We also see some links in the top right of the header, that should not be there, since the 'LAB51 Test' theme inherits from Magento Luma, and Luma removes these links. The copyright bar in the footer also looks like a combination of the Blank copyright bar and the Luma copyright bar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrontendEvent: distributed-cdDistributed Contribution DayFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions