Web Analytics

Fill the form & Get Installation Support





    Here you have to override the Subscriber Model so for that, you have to create a new module and override the Subscriber model?

    If the answer is yes, then please do the below steps.

    Step 1: Paste the below code in your di.xml

    Step 2: Paste the below code in Your Subscriber.php under Magemonkey/Newsletter/Model/Subscriber.php

    Here, we have passed the ‘coupon_code’ variable in the template vars.
    This variable contains the unique coupon code for every subscriber. Also, we have used the object Manager but you can use the construct method. And we have passed the static RULE id in the code. You can also change the rule id.

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Hire A. Patel

      Get a Free Quote





        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.