I'm testing Magento on the localhost and I need to make some changes to the product page template.
I have been able to create a custom theme and modify it but I do not understand how to override the custom product page.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Depending on what you want to exactly achieve, you can extend any template file by looking at the Magento Catalog Module architecture. You can find it here /vendor/magento/module-catalog to know what is the module identifier, you need to look at the module 'registration.php' therefore, it is 'Magento_Catalog' that you are looking for.
That being said, you will need to extend each template file you want to customize into your own theme. So there is how you do it.
Create this architecture:
in which you will be able to extend layouts into
and templates into
Please, follow this link for a complete frontend guide on how layouts in Magento 2 works.