Skip to content

Commit

Permalink
Merge pull request #1493 from mailchimp/Issue1475-2.4
Browse files Browse the repository at this point in the history
fix problem with developer mode #1475 for magento 2.4
  • Loading branch information
gonzaloebiz authored Aug 9, 2022
2 parents 299d59e + b236d68 commit faf1f47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper
const XML_MAGENTO_MAIL = 'mailchimp/general/magentoemail';
const XML_SEND_PROMO = 'mailchimp/ecommerce/send_promo';
const XML_INCLUDING_TAXES = 'mailchimp/ecommerce/including_taxes';
const XML_POPUP_FORM = 'mailchimp/general/popup-form';
const XML_POPUP_URL = 'mailchimp/general/popup-url';
const XML_POPUP_FORM = 'mailchimp/general/popup_form';
const XML_POPUP_URL = 'mailchimp/general/popup_url';

const ORDER_STATE_OK = 'complete';

Expand Down
6 changes: 3 additions & 3 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,20 @@
<field id="*/*/active">1</field>
</depends>
</field>
<field id="popup-form" translate="label" type="select" sortOrder="42" showInStore="1" showInWebsite="1" showInDefault="1">
<field id="popup_form" translate="label" type="select" sortOrder="42" showInStore="1" showInWebsite="1" showInDefault="1">
<label>Change the footer link</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>Enabling this, the "Subscribe" button at the bottom open a popup with the Mailchimp subscription form</comment>
<depends>
<field id="*/*/active">1</field>
</depends>
</field>
<field id="popup-url" translate="label" type="text" sortOrder="43" showInDefault="1" showInWebsite="1" showInStore="1">
<field id="popup_url" translate="label" type="text" sortOrder="43" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Popup Url</label>
<comment>Paste the form URL from your MailChimp audience</comment>
<depends>
<field id="*/*/active">1</field>
<field id="*/*/popup-form">1</field>
<field id="*/*/popup_form">1</field>
</depends>
</field>

Expand Down

0 comments on commit faf1f47

Please sign in to comment.