A page is assembled, not hardcoded. A JSON template (like templates/product.json) lists which sections show up, in what order.
{
"sections": {
"main": { "type": "main-product" },
"reviews": { "type": "product-reviews" },
"related": { "type": "product-recommendations" }
},
"order": ["main", "reviews", "related"]
}
Each key in sections is an id you pick. Its type is the section file to render. order lists those ids top to bottom. The merchant edits all of this in the theme editor.