Yafar_iSiYafar_iSi MemberComments: 15 Received thanks: 1 Member since: June 2019

Hi everyone!

I am trying to create my own template

I created MyTheme/src/Resources/views/storefront/base.html.twig (It works...)


I am trying to overwrite the product page
MyTheme/src/Resources/views/storefront/page/product-detail/index.html.twig


But with {% sw_extends '@MyTheme/storefront/base.html.twig' %} in MyTheme/src/Resources/views/storefront/page/product-detail/index.html.twig file


I get {% sw_extends '@Storefront/storefront/base.html.twig' %}

but if I replace "sw_extends" with "extends" it works...

Shouldn't "sw_extends" and "extends" have the same behavior?

Answers

Sign In or Register to comment.