Giter Club home page Giter Club logo

magento2_newslettersubscribeatcheckout's Introduction

NOTE: This repository has moved to https://github.com/magenizr/Magenizr_NewsletterSubscribeAtCheckout and will be continued there.

Magento2 NewsletterSubscribeAtCheckout

This Magento 2 module allows you to enable a newsletter subscription checkbox on the checkout page. Customers can subscribe to your newsletter list in Marketing > Communications > Newsletter Subscribers during checkout.

Magento2 NewsletterSubscribeAtCheckout - Intro

Magento2 NewsletterSubscribeAtCheckout - Frontend - Checkout

Magento2 NewsletterSubscribeAtCheckout - Backend - Configuration

Magento2 NewsletterSubscribeAtCheckout - Backend - Newsletter

Installation (Composer)

  1. Add this extension to your repository composer config repositories.tobias-forkel/magento2-newsletter-subscribe-at-checkout vcs https://github.com/tobias-forkel/Magento2_NewsletterSubscribeAtCheckout.git
  2. Update your composer.json composer require "tobias-forkel/magento2-newsletter-subscribe-at-checkout":"1.0.3"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)              
Package operations: 1 install, 0 updates, 0 removals
  - Installing tobias-forkel/magento2-newsletter-subscribe-at-checkout (1.0.3): Downloading (100%)         
Writing lock file
Generating autoload files
  1. Enable the module and clear static content.
php bin/magento module:enable Forkel_NewsletterSubscribeAtCheckout --clear-static-content
php bin/magento setup:upgrade

Installation (Manually)

  1. Pull the code.
  2. Copy the code in ./app/code/Forkel/NewsletterSubscribeAtCheckout/.
  3. Enable the module and clear static content.
php bin/magento module:enable Forkel_NewsletterSubscribeAtCheckout --clear-static-content
php bin/magento setup:upgrade

Features

  • The option Checked allows you to pre-tick the newsletter checkbox. Default is No.
  • The text field Label allows you to display a custom label.
  • With the option Note you can display a custom text right below the newsletter subscription.

Usage

The functionality can be used in the backend section Stores > Configuration > Sales > Checkout > Newsletter Subscribe At Checkout.

Support

If you have any issues with this extension, open an issue on Github. For a custom build, please contact me on http://www.tobiasforkel.de.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature.
  3. Commit your changes: git commit -am 'Add some feature'.
  4. Push to the branch: git push origin my-new-feature.
  5. Submit a pull request.

Follow me on GitHub and Twitter.

History

===== 1.0.3 =====

  • Option Enable Note had no effect. [#4] [pooshok]
  • Code Cleanup.
  • Added <depends> in system.xml to hide all fields in Stores > Configuration > Sales > Checkout > Newsletter Subscribe At Checkout unless you enable the module.

===== 1.0.2 =====

  • Updated composer require. [#1] [Rakhal]
  • Removed ifconfig from referenceBlock for 2.2.x compatibility. [#1] [Rakhal]

===== 1.0.1 =====

  • Variable note didn't exist when note was disabled.

===== 1.0.0 =====

  • Stable version of this module.

License

OSL - Open Software Licence 3.0

magento2_newslettersubscribeatcheckout's People

Contributors

magenizr avatar mautz-et-tong avatar pooshok avatar rakibabu avatar tobias-forkel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.