Jump to content

Prestashop 1.7 - child theme


Recommended Posts

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!

post-1374261-0-55999700-1487862950_thumb.png

Edited by nache14_ (see edit history)
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...