Skip to content

Magento v2.1.2 - Choosing a child theme for product page #8333

@ChevCheusov

Description

@ChevCheusov

The Magento only pulls through the styles from the child theme, and not the layouts. The XML files are pulled from the parent theme wich is wrong.

Preconditions

  1. Install Magento 2.1.2 , PHP 5.6.29, MySQL 5.6

Steps to reproduce

  1. Trying to setup a child theme specifically for some products. However, this doesn't contribute. Magento does not pull layout from the "child theme".
  2. See the theme catalog structure:
    Master_theme
    -- theme
    -- Magento_Catalog
    -- layout
    -- catalog_product_view.xml
    Child_theme
    -- theme
    -- Magento_Catalog
    -- layout
    -- catalog_product_view.xml

Magento pulls the "catalog_product_view.xml" from the parent theme instead of child.
That is the problem!

Expected result

  1. Magento pulls the "catalog_product_view.xml" from the child theme.

Actual result

  1. admin panel --> product edit --> select design tab --> new theme --> select "child theme"
    http://dl3.joxi.net/drive/2017/01/30/0019/0670/1295006/06/d588e67506.jpg
    I chose the theme needed and save. But it does not help pulling layouts.

Additional information

Exactly the same bug was described here - http://magento.stackexchange.com/questions/145687/magento-2-v2-1-2-choosing-separate-theme-for-product-page
And the solution was not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrontendFixed 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