Post by straightlight » Thu Sep 28, 2017 10:06 pm

It would be great to use additional AJAX calls to specifically send the emails. Right now, there are 22 methods that enforces the emails to be sent while collecting the data array. The data array should first be returned in order for override systems to be able to tweak the data array before officially sending the emails. Granted, it would increase the AJAX block of codes from the TWIG files as well as using 44 methods instead of 22 methods on the PHP files. Although, it would also provide a more segmented way to add new keys to the data array for additional features before officially sending the emails to the users.

As an optional, but cleaner use, the mail class should also be set into a centralized method in order to either use the HTML or text switch case when calling the registry to reduce the size of troubleshooting of those email parameters.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

Straightlight Administrator / Quality Assurance Analyst / Programmer / Opencart Tester

Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 7 guests