Category: Magento 2

Create Magento 2 Custom theme

Create Magento 2 Custom theme Create Magento 2 Custom theme firstly we need to set mode as developer you know magento have three type mode: Default Mode Developer Mode Production Mode Run blow cammand set mode as developer php bin/magento deploy:mode:set developer Step 1 – Create theme.xml Create theme directory app/design/frontend/techdiv/techdivtheme app/design/frontend/techdiv/techdivtheme/etc/theme.xml <theme xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Config/etc/theme.xsd”> […]

Read More

How to create custom layout page magento 2

How to create custom layout page magento 2 Magento 2 have great feature to create many custom layout pages Creating layouts.xml and define page_layout Magento default layouts: -Empty -1 column -2 columns with left bar -2 columns with right bar -3 columns Steps to create new layout page. USING MODULE 1 – Create Namespace/Module/view/frontend/layouts.xml USING […]

Read More

Custom API for Magento 2

Custom API for Magento 2 API stands for Application Programming Interface which allow you access the data from an application. Two kinds of the web APIs: REST (Representational State Transfer) SOAP (Simple Object Access Protocol). How to create custom API Module: Magento 2. To generate access token inside for your Magento 2 store navigate to […]

Read More

Magento 2 Registry & Register

Magento 2 Registry & Register Magento 2 registry is the next topic of Latestblog Registry is generally used to communicate between blocks and controllers We will go new page we will not sea registry set variable whereas session will persist and remains on new pages. We can get current Product, Category, CMS Page by using […]

Read More