Skip to content

Commit

Permalink
Add support for Magento 2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Sep 2, 2019
1 parent be8aa46 commit 7b44b07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions Model/Config/Backend/AccessCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function __construct(

/**
* @return $this
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function beforeSave()
{
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"magepal/magento2-checkout-success-misc-script":"Add miscellaneous HTML and scripts to your checkout success page"
},
"type": "magento2-module",
"version": "1.0.7",
"version": "1.0.8",
"autoload": {
"files": [
"registration.php"
Expand Down
8 changes: 5 additions & 3 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,16 @@
<frontend_model>MagePal\PreviewCheckoutSuccessPage\Block\Adminhtml\System\Config\Form\Field\OrderIncrement</frontend_model>
</field>

<field id="modify_timestamp" translate="label" type="hidden" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="1">
<field id="modify_timestamp" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="1">
<label>Hidden</label>
<backend_model>MagePal\PreviewCheckoutSuccessPage\Model\Config\Backend\ModifyTimestamp</backend_model>
<depends>
<field id="*/*/active">1</field>
</depends>
</field>

<field id="access_code" translate="label" type="hidden" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="1">
<field id="access_code" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="1">
<label>Hidden</label>
<backend_model>MagePal\PreviewCheckoutSuccessPage\Model\Config\Backend\AccessCode</backend_model>
<depends>
<field id="*/*/active">1</field>
Expand All @@ -106,4 +108,4 @@
</group>
</section>
</system>
</config>
</config>

0 comments on commit 7b44b07

Please sign in to comment.