I am trying to remove default product detail page content, can i load custom phtml file for product detail page along with the image?
I need to remove all the default blocks of product detail page and show only my template content.
Is that can be done? Because i need to custom code in that template file to interact with external api with the product id.
How this can be achieved? Please anyone suggest me.
Best Answer
There is no need of module, You just need to create a
catalog_product_view.xml
at:Create a
customview.phtml
at:Result will be: