Skip to content

Commit f66b1da

Browse files
committed
Update copyright and add core extension
1 parent c30922c commit f66b1da

File tree

4 files changed

+11
-148
lines changed

4 files changed

+11
-148
lines changed

Block/Adminhtml/System/Config/Form/Composer/Version.php

Lines changed: 0 additions & 120 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0|~7.4.0",
3636
"magento/module-backend": "100.0.*|100.1.*|100.2.*|101.0.*|102.0.*",
3737
"magento/framework": "100.0.*|100.1.*|101.0.*|102.0.*|103.0.*",
38-
"magepal/magento2-core":">1.1.0"
38+
"magepal/magento2-core": ">=1.1.11"
3939
},
4040
"suggest": {
4141
"magepal/magento2-checkout-success-misc-script":"Add miscellaneous HTML and scripts to your checkout success page"

etc/adminhtml/system.xml

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<label>Preview Success Page</label><attribute type="expanded">1</attribute>
2020
<comment>
2121
<![CDATA[
22-
<div id="magepal-info-pcsp">
23-
Copyright © 2020 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=preview-confirmation-page&utm_medium=admin" target="_blank">MagePal, LLC</a>
22+
<div class="magepal-info">
23+
Copyright © 2022 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=preview-confirmation-page&utm_medium=admin" target="_blank">MagePal, LLC</a>
2424
<a href="https://www.magepal.com/help/docs/preview-order-confirmation-page-magento-2/?utm_source=preview-confirmation-page&utm_medium=admin#documentation" target="_blank">Documentation</a>
2525
<a href="https://www.magepal.com/help/docs/preview-order-confirmation-page-magento-2/?utm_source=preview-confirmation-page&utm_medium=admin#support">Support</a>
2626
<a href="https://www.magepal.com/help/docs/preview-order-confirmation-page-magento-2?utm_source=preview-confirmation-page&utm_medium=admin#current_version" target="_blank">Latest Version</a>
@@ -30,32 +30,12 @@
3030
<div>
3131
Design beautiful order confirmation page with our new <a href="https://www.magepal.com/enhanced-success-page.html">Enhanced Success Page</a> extension.
3232
</div>
33-
<hr style="border-top: 1px solid #e3e3e3" />
34-
<style>
35-
#magepal-info-pcsp 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-pcsp a:first-child {
44-
padding-left: 5px;
45-
border-left: none;
46-
}
47-
48-
#magepal-info-pcsp {
49-
padding-bottom: 5px;
50-
}
51-
.section-config.active #magepal_checkout_preview_success_page-head {
52-
padding-bottom: 0px;
53-
}
54-
</style>]]>
33+
<hr class="magepal-hr" />
34+
]]>
5535
</comment>
56-
<field id="composer_version" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
36+
<field id="MagePal_PreviewCheckoutSuccessPage" translate="label" type="label" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
5737
<label>Composer Version</label>
58-
<frontend_model>MagePal\PreviewCheckoutSuccessPage\Block\Adminhtml\System\Config\Form\Composer\Version</frontend_model>
38+
<frontend_model>MagePal\Core\Block\Adminhtml\System\Config\Composer\Version</frontend_model>
5939
</field>
6040
<field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="1">
6141
<label>Enable</label>

etc/module.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
44
<module name="MagePal_PreviewCheckoutSuccessPage" setup_version="1.0.0">
5+
<sequence>
6+
<module name="MagePal_Core"/>
7+
</sequence>
58
</module>
6-
</config>
9+
</config>

0 commit comments

Comments
 (0)