nache14_ Posted February 23, 2017 Share Posted February 23, 2017 (edited) Hello I have tried to create a child theme for a theme I have following this tutorial: http://developers.prestashop.com/themes/smarty/parent-child-feature.html I have tried it including creating a child theme for the "classic" theme that comes with prestashop but I get the same error This is the child theme's config/theme.yml content : parent: PRSADD046 name: Myon Baits display_name: PRSADD046 child theme version: 1.0.0 assets: use_parent_assets: true I have attached an image with the error I get. What am I doing wrong? Thank you! Edited February 23, 2017 by nache14_ (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted February 26, 2017 Share Posted February 26, 2017 That's not right. The value of parent should be classic if you want to extend the classic theme. Also, the value of "name" should match your theme's folder name. It's probably better not to have capital letters and spaces in it, i.e. myonbaits 1 Link to comment Share on other sites More sharing options...
nache14_ Posted February 26, 2017 Author Share Posted February 26, 2017 Hello, The value of parent was good, that was the name of the theme I was trying to extend, the value of name was wrong, I didn't understand from the documentation that name should be the value of the child theme's folder. Thank you! Link to comment Share on other sites More sharing options...
Xpert-Idea Posted February 27, 2017 Share Posted February 27, 2017 I have attached a sample of testchild theme which make for classic parent theme. I have just override the product page product price for classic parent theme, just test purpose only . Please download the testchild theme and follow this child theme and making of yours. and you can override any others tpl any block from your child theme. testchild.zip 2 Link to comment Share on other sites More sharing options...
nache14_ Posted February 27, 2017 Author Share Posted February 27, 2017 Thank you for your time Xpert-Idea! As you can see rocky already pointed out to me what I was doing wrong 1 Link to comment Share on other sites More sharing options...
whoey Posted March 2, 2017 Share Posted March 2, 2017 thank you, this helped me get my overrides in place so I don't lose them with updates. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now