0

We are trying to integrate the output of an extension into a customized phtml template:

The extension is called Magetrend Newsletter Popup Pro which normally creates a pop that is being triggered by js. It offers the opportunity to add custom fields for special target groups. We are using this feature aswell as the pop-up feature.

We would like to integrate the same output as in the above mentioned pop-up into the customer account to facilitate customers to change their settings.

The template to be used for this would be

./vendor/magento/module-customer/view/frontend/templates/form/newsletter.phtml

which we already placed in

./app/design/frontend/Vendor/theme/Magento_Customer/templates/form/newsletter.phtml

How would we be able to integrate the following template there:

./app/design/frontend/Vendor/theme/Magetrend_NewsletterPopup/templates/newsletterpopup/popup.phtml

We don't find anything on this in the web.

  • Could you please share with me exact path where located "popup.phtml" in Magetrend Newsletter Popup Pro. – hweb87 May 29 '18 at 9:57
  • the popup.phtml is located at ./app/code/Magetrend/NewsletterPopup/view/frontend/templates/newsletterpopup/popup.phtml We also already asked the Magetrend support, but they couldn't help with this issue. – digijay May 29 '18 at 10:14
  • have run set:up command after override popup.phtml file ? – hweb87 May 29 '18 at 10:17
  • yes, several times, but we haven't integrated the popup.phtml into the newsletter.phtml because we have no idea how to do it. – digijay May 29 '18 at 10:19
  • Wait, do you want modified "newsletter.phtml" or "popup.phtml" ? – hweb87 May 29 '18 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.