Add Extension/CSS/JS to Parent Theme – Magento2 Luma Theme Guide

hyvaluma-themeparent-child-theme

I am quite new to magento 🙂

We are using an external theme (hyva) which inherits from luma. This external theme does not have a checkout module, so when we navigate to the checkout form, it falls back to the parent theme.

Now I need to edit the checkout form. But I don't know where to add my files.
If I put it inside app/design/Vendor/Theme/..., it will be added to the child theme.
Where should I put my edited file, to make it add to the parent theme?

Best Answer

The simple things is that :

  1. If you want to make the changes for child theme then put the files into :

app\design\frontend\Vendor\ChileTheme\

  1. If you want to make the changes for parent theme then put the files into :

app\design\frontend\Vendor\ParentTheme\

Related Topic