Jump to content

[Solved]Child theme cannot override product.tpl, product-add-to-cart.tpl templates


Dhara1510

Recommended Posts

Hello i am creating child theme for the first time. I want to override some products template. I do as suggested in documents. But it is using the original template. Below i have done.

 

1) classic/templates/catalog/_partials/miniatures/product.tpl - main template

mytheme/templates/catelog/_partials/miniatures/product.tpl - overriden template

2) classic/templates/catalog/_partials/product-add-to-cart.tpl - main template

mytheme/templates/catelog/_partials/product-add-to-cart.tpl - overriden template

3) classic/templates/catalog/_partials/products.tpl  - main template

mytheme/templates/catelog/_partials/products.tpl - overriden template

 

None of theme worked at all. I want to use whole template so i am not adding {extend} tag. 

Can anyone please help me? I seareched but cannot find the solution.

2020-06-26_13-16.png

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

  • 2 weeks later...

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...