2017 © Pedro Peláez
 

opencart-extension html-emails

Opencart Patch HTML Emails

image

opencart-patches/html-emails

Opencart Patch HTML Emails

  • Friday, August 18, 2017
  • by openmandragora
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

OpenCart Patch Html Emails

Handle all Emails (+Html Emails) from a central place, (*1)

Progress: - [x] new customer account - [x] customer password forgotten - [x] new order - [ ] contact - [ ] ebay order - [ ] amazon login - [ ] review - [ ] affiliate mails - [ ] voucher - ..., (*2)

Install on Opencart

composer require opencart-patches/html-emails, (*3)

Development Setup

  1. Clone the git repository
  2. Copy the .env.sample file to .env and set the configuration parameters respectively
  3. Run bin/robo opencart:setup and afterwards bin/robo opencart:run on command line (bin/robo opencart:run & to run in background)
  4. To install all node dependencies run: npm install
  5. Run bin/robo project:deploy to compile mail templates and mirror src/ into www/
  6. Open http://localhost:8000 in your browser

Testing

  • Install Mailcatcher (https://mailcatcher.me/) and run the service locally
  • Configure Opencart SMTP settings accordingly
    • Mail Protocol: SMTP
    • SMTP Hostname: 127.0.0.1
    • SMTP Port: 1025
    • no username/password required
  • Trigger a mail event manually (e.g. registering a customer) and check mailcatcher on http://127.0.0.1:1080

Robo Commands

  • bin/robo opencart:setup : Install OpenCart with configuration set in .env file
  • bin/robo opencart:run : Run OpenCart on a php build-in web server on port 8000
  • bin/robo project:deploy : Mirror contents of the src folder to the OpenCart test environment
  • bin/robo project:watch : Redeploy after changes inside the src/ folder or the composer.json file
  • bin/robo project:package: Package a build.ocmod.zip inside the target/ folder

The Versions

18/08 2017
18/08 2017
18/08 2017
06/06 2017
06/06 2017
06/06 2017
06/06 2017
31/05 2017