My guess is ChatGPT just made it all up. ![]()
So as you can see, we arenāt all out of a job yet. ![]()
Thereās no concept of āenablingā or ādisablingā a Theme Component, you simply add or remove it from a parent theme. EDIT: incorrect, see @Canapinās post below!
ChatGPT made it all up. got the wrong end point and body.
Using the browsers network tab, I can see that adding a Theme Component to a parent theme called a
PUT /admin/themes/<id>
(id of component)
With payload something like:
parent_theme_ids: [<parent_id>]
I didnāt make that up, I just looked at the Network tab on my browser ![]()
You are welcome