February 2016
Beginner to intermediate
178 pages
3h 25m
English
Magento works with .phtml template files to generate the view layer for the users. The modules and themes in Magento have its specific group of .phtml files to show data to the users. Let's create a custom template example in the CompStore theme to see how it works:
Magento_Catalog directory under the compstore theme directory.vendor/magento/module_catalog/view/frontend/templates to app/design/frontend/Packt/compstore.app/design/frontend/Packt/compstore/Magento_Catalog/templates/product/view/addto.phtml file in your favorite code editor.<div><h2>Buy in CompStore!!!</h2></div>
var/view_preprocessed/ ...Read now
Unlock full access