Skip to content

Commit 603e000

Browse files
committed
add documentation
1 parent 4696b74 commit 603e000

File tree

4 files changed

+51
-24
lines changed

4 files changed

+51
-24
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Magento2 - Edit order Email Address
44

5+
[![Total Downloads](https://poser.pugx.org/magepal/magento2-edit-order-email/downloads)](https://www.magepal.com/help/docs/edit-order-email-magento2/)
6+
[![Latest Stable Version](https://poser.pugx.org/magepal/magento2-edit-order-email/v/stable)](https://www.magepal.com/help/docs/edit-order-email-magento2/)
7+
[![GitHub stars](https://img.shields.io/github/stars/magepal/magento2-edit-order-email.svg)](https://www.magepal.com/help/docs/edit-order-email-magento2/)
8+
[![GitHub forks](https://img.shields.io/github/forks/magepal/magento2-edit-order-email.svg)](https://www.magepal.com/help/docs/edit-order-email-magento2/)
9+
510
![Magento2 - Edit Order Email](https://user-images.githubusercontent.com/1415141/55928085-63b5ad80-5be5-11e9-9f61-df45b1d7a7e9.gif)
611

712
Entering the wrong email address during purchase is a very common mistake, especially on order by phone transactions. Reduce the number of hours and frustration each time a custom mistype their email. With our extension the is no need to cancel and reorder just to correct a simple email in an email address.
@@ -20,16 +25,12 @@ Entering the wrong email address during purchase is a very common mistake, espec
2025
```
2126
composer require magepal/magento2-edit-order-email
2227
```
23-
24-
##### Manually (not recommended)
25-
* Download the extension
26-
* Unzip the file
27-
* Create a folder {Magento 2 root}/app/code/MagePal/EnhancedEcommerce
28-
* Copy the content from the unzip folder
29-
30-
#### Step 2 - Enable Module (from {Magento root} folder)
31-
* php -f bin/magento module:enable --clear-static-content MagePal_EditOrderEmail
32-
* php -f bin/magento setup:upgrade
28+
29+
## Documentation
30+
31+
- [How to Install Edit Order Email for Magento](https://www.magepal.com/help/docs/edit-order-email-magento2/#installation)
32+
33+
- [How to setup Edit Order Email for Magento 2](https://www.magepal.com/help/docs/edit-order-email-magento2/#configuration)
3334

3435

3536

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@
33
"description":"Magento 2 edit order email",
44
"keywords": [
55
"magento 2",
6-
"gmail smtp"
6+
"edit order email",
7+
"change order email",
8+
"how to change order email",
9+
"change email address",
10+
"wrong order email"
711
],
812
"require": {
913
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0",
1014
"magento/module-backend": "100.0.*|100.1.*|100.2.*|101.0.*",
1115
"magento/framework": "100.0.*|100.1.*|101.0.*|102.0.*"
1216
},
1317
"type": "magento2-module",
14-
"version": "1.1.0",
18+
"version": "1.1.1",
1519
"license": [
1620
"proprietary"
1721
],

etc/adminhtml/system.xml

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,41 @@
1818
<group id="about" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="0" translate="label">
1919
<attribute type="expanded">1</attribute>
2020
<label>Edit Order Email</label>
21-
<comment>
22-
<![CDATA[
23-
<strong>Copyright © 2019 <a href="http://bit.ly/MPEXSMTP" target="_blank">www.magepal.com</a> / <a href="mailto:support@magepal.com">support@magepal.com</a></strong><br />
24-
Discover other must have extensions at <a href="https://www.magepal.com" target="_blank">www.magepal.com</a>. Thanks for choosing MagePal Extensions.<br/><br/>
21+
<comment><![CDATA[
22+
<div id="magepal-info">
23+
Copyright © 2019 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=edit-order-email&utm_medium=admin" target="_blank">MagePal, LLC</a>
24+
<a href="https://www.magepal.com/help/docs/edit-order-email-magento2/?utm_source=edit-order-email&utm_medium=admin#documentation" target="_blank">Documentation</a>
25+
<a href="https://www.magepal.com/help/docs/edit-order-email-magento2/?utm_source=edit-order-email&utm_medium=admin#support">Support</a>
26+
<a href="https://www.magepal.com/help/docs/edit-order-email-magento2?utm_source=edit-order-email&utm_medium=admin#current_version" target="_blank">Latest Version</a>
27+
<a href="https://www.magepal.com/help/docs/edit-order-email-magento2?utm_source=edit-order-email&utm_medium=admin" target="_blank">Extension Detail</a>
28+
<a href="https://www.magepal.com/magento2/extensions.html?utm_source=edit-order-email&utm_medium=admin" target="_blank">More Extensions</a>
29+
</div>
30+
Automatically convert guest checkout to customer with our
31+
<a href="https://www.magepal.com/guest-to-customer.html?utm_source=edit-order-email&utm_medium=admin">
32+
Guest to Customer</a> extension.
2533
<hr style="border-top: 1px solid #e3e3e3" />
26-
]]>
27-
</comment>
28-
<field id="module_version" translate="label" type="label" sortOrder="0" showInDefault="1" showInWebsite="0" showInStore="0">
29-
<label>Module Version</label>
30-
<frontend_model>MagePal\EditOrderEmail\Block\Adminhtml\System\Config\Form\Module\Version</frontend_model>
31-
</field>
34+
<style>
35+
#magepal-info a {
36+
font-weight: bold;
37+
border-left: 2px solid #e3e3e3;
38+
padding-left:10px;
39+
padding-right:10px;
40+
color: #ef7e1e;
41+
}
42+
43+
#magepal-info a:first-child {
44+
padding-left: 5px;
45+
border-left: none;
46+
}
47+
48+
#magepal-info {
49+
padding-bottom: 5px;
50+
}
51+
52+
.section-config.active #magepal_editorderemail_about-head {
53+
padding-bottom: 0px;
54+
}
55+
</style>]]></comment>
3256
<field id="composer_version" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
3357
<label>Composer Version</label>
3458
<frontend_model>MagePal\EditOrderEmail\Block\Adminhtml\System\Config\Form\Composer\Version</frontend_model>

view/adminhtml/web/js/email.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ define([
5353
if (data.email) {
5454
$emailHref.attr("href", "mailto:" + data.email).text(data.email)
5555
}
56-
5756
}
5857

5958
if (data.ajaxExpired) {
@@ -68,7 +67,6 @@ define([
6867
return false;
6968
}
7069
});
71-
7270
} catch (e) {
7371
$(".mage-error").html(e.message);
7472
}

0 commit comments

Comments
 (0)