File tree 6 files changed +15
-9
lines changed
6 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
1
.idea /
2
- vendor /
2
+ vendor /
3
+ * .zip
4
+ TODO
Original file line number Diff line number Diff line change
1
+ ![ Sms77.io Logo] ( https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png " sms77 ")
1
2
# sms77.io PrestaShop module
2
3
3
4
## Installation
@@ -22,7 +23,6 @@ Available message placeholders:
22
23
- {1} => Last name
23
24
- {2} => Order-ID (where available)
24
25
25
- #### TODO:
26
- - Add tests
27
- - Add more events
28
- - Add more placeholders to message contents
26
+ #### Screenshots
27
+ #### Screenshots
28
+ ![ Screenshot of plugin settings] ( https://tettra-production.s3.us-west-2.amazonaws.com/0d6efb4f154041e899af17bdcd19c1b5/bcac36a50716f4f73cd84020c4bf091d/d822b155a4112474fdb7aea5ee22465e/cb30d8dd64d0e83fcc7822a40f1703d9/mLBF1Q0g4SCVCXQSEfzElQAJBvxDiaqqTTSqY2lS.png " PrestaShop.Sms77: Settings ")
Original file line number Diff line number Diff line change 14
14
*/
15
15
16
16
require_once __DIR__ . "/../controllers/admin/Sms77AdminController.php " ;
17
- require_once __DIR__ . ". /Constants.php " ;
17
+ require_once __DIR__ . "/Constants.php " ;
18
18
19
19
class Form extends HelperForm
20
20
{
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ static function create() {
46
46
' . self ::TIMESTAMP . ' DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
47
47
' . self ::RESPONSE . ' TEXT NOT NULL,
48
48
' . self ::TYPE . ' VARCHAR(12) NOT NULL,
49
- ' . self ::GROUPS . ' VARCHAR(255),
49
+ ` ' . self ::GROUPS . '` VARCHAR(255),
50
50
' . self ::COUNTRIES . ' VARCHAR(255),
51
51
PRIMARY KEY (id_sms77_message)
52
52
) ENGINE= ' . _MYSQL_ENGINE_ . ' DEFAULT CHARSET=utf8;
Original file line number Diff line number Diff line change 15
15
16
16
use Sms77 \Api \Client ;
17
17
18
- require_once ( __DIR__ . '/TableWrapper.php ' ) ;
19
- require_once ( __DIR__ . '/Constants.php ' ) ;
18
+ require_once __DIR__ . '/TableWrapper.php ' ;
19
+ require_once __DIR__ . '/Constants.php ' ;
20
20
21
21
class Util
22
22
{
Original file line number Diff line number Diff line change 17
17
exit ;
18
18
}
19
19
20
+ if (file_exists (__DIR__ . '/vendor/autoload.php ' )) {
21
+ require_once __DIR__ . '/vendor/autoload.php ' ;
22
+ }
23
+
20
24
require_once dirname (__FILE__ ) . "/classes/Constants.php " ;
21
25
require_once dirname (__FILE__ ) . "/classes/Form.php " ;
22
26
require_once dirname (__FILE__ ) . "/classes/Personalizer.php " ;
You can’t perform that action at this time.
0 commit comments