hellomage.com

Let’s create it as a module.

  1. start with creating registration.php and module.xml

create a registration.php file in the following path {app/code/HelloMage/DeleteCreditmemo/}

<?php

\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'HelloMage_DeleteCreditmemo',
__DIR__
);

create a module.xml file in the following path {app/code/HelloMage/DeleteCreditmemo/etc/}

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">…

--

--