Theme a product pageΒΆ

To do this, just create a copy of page.html.twig file of your base theme, and name it as page--product.html.twig. You can move that file to your custom theme.

Make changes in page--product.html.twig and it will reflect only in the product pages.

Don't forget to rebuild cache.