- Frontend Developer
-
app/design/frontend/Bdcrops/B2theme/registration.php
Source
``` <?php use \Magento\Framework\Component\ComponentRegistrar; ComponentRegistrar::register( ComponentRegistrar::THEME, 'frontend/Bdcrops/b2theme', __DIR__ ); ```
-
Create app/design/frontend/Bdcrops/B2theme/theme.xml
Source
``` <?xml version="1.0"?> <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd"> <title>Bdcrops B2theme</title> <parent>Magento/blank</parent> <media> <preview_image/> </media> </theme>{ "name": "bdcrops/theme-frontend-b2theme", "description": "N/A", "config": { "sort-packages": true }, "require": { "php": "~7.1.3||~7.2.0||~7.3.0", "magento/framework": "102.0.*", "magento/theme-frontend-blank": "100.3.*" }, "type": "magento2-theme", "license": [ "OSL-3.0", "AFL-3.0" ], "autoload": { "files": [ "registration.php" ] }, "version": "100.3.3" } ```
-
Create app/design/frontend/Bdcrops/B2theme/composer.json
Source
``` { "name": "bdcrops/theme-frontend-b2theme", "description": "N/A", "config": { "sort-packages": true }, "require": { "php": "~7.1.3||~7.2.0||~7.3.0", "magento/framework": "102.0.*", "magento/theme-frontend-blank": "100.3.*" }, "type": "magento2-theme", "license": [ "OSL-3.0", "AFL-3.0" ], "autoload": { "files": [ "registration.php" ] }, "version": "100.3.3" } ```