- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
- 297
- 298
- 299
- 300
- 301
- 302
- 303
- 304
- 305
- 306
- 307
- 308
- 309
- 310
- 311
- 312
- 313
- 314
- 315
- 316
- 317
- 318
- 319
- 320
- 321
- 322
- 323
- 324
- 325
- 326
- 327
- 328
- 329
- 330
- 331
- 332
- 333
- 334
- 335
- 336
- 337
- 338
- 339
- 340
- 341
- 342
- 343
- 344
- 345
- 346
- 347
- 348
- 349
- 350
- 351
- 352
- 353
- 354
- 355
- 356
- 357
- 358
- 359
- 360
- 361
- 362
- 363
- 364
- 365
- 366
- 367
- 368
- 369
- 370
- 371
- 372
- 373
- 374
- 375
- 376
- 377
- 378
- 379
- 380
- 381
- 382
- 383
- 384
- 385
- 386
- 387
- 388
- 389
- 390
- 391
- 392
- 393
- 394
- 395
- 396
- 397
- 398
- 399
- 400
- 401
- 402
- 403
- 404
- 405
- 406
- 407
- 408
- 409
- 410
- 411
- 412
- 413
- 414
- 415
- 416
- 417
- 418
- 419
- 420
- 421
- 422
- 423
- 424
- 425
- 426
- 427
- 428
- 429
- 430
- 431
- 432
- 433
- 434
- 435
- 436
- 437
- 438
- 439
- 440
- 441
- 442
- 443
- 444
- 445
- 446
- 447
- 448
- 449
- 450
- 451
- 452
- 453
- 454
- 455
- 456
- 457
- 458
- 459
- 460
- 461
- 462
- 463
- 464
- 465
- 466
- 467
- 468
- 469
- 470
- 471
- 472
- 473
- 474
- 475
- 476
- 477
- 478
- 479
- 480
- 481
- 482
- 483
- 484
- 485
- 486
- 487
- 488
- 489
- 490
- 491
- 492
- 493
- 494
- 495
- 496
- 497
- 498
- 499
- 500
- 501
- 502
- 503
- 504
- 505
- 506
- 507
- 508
- 509
- 510
- 511
- 512
- 513
- 514
- 515
- 516
- 517
- 518
- 519
- 520
- 521
- 522
- 523
- 524
- 525
- 526
- 527
- 528
- 529
- 530
- 531
- 532
- 533
- 534
- 535
- 536
- 537
- 538
- 539
- 540
- 541
- 542
- 543
- 544
- 545
- 546
- 547
- 548
- 549
- 550
- 551
- 552
- 553
- 554
- 555
- 556
- 557
- 558
- 559
- 560
- 561
- 562
- 563
- 564
- 565
- 566
- 567
- 568
- 569
- 570
- 571
- 572
- 573
- 574
- 575
- 576
- 577
- 578
- 579
- 580
- 581
- 582
- 583
- 584
- 585
- 586
- 587
- 588
- 589
- 590
- 591
Configuring the module the SMS widget for the online store {SEO-Shop}, OpenCart 2.x, 3.x, ocStore
-
Module installation “NeoSeo SMS informer”
To install the module “NeoSeo SMS informer” for OpenCart, you must:
- Go to admin panel and click on “Extras”->”Modules”:
- In the list of modules that opens, select “NeoSeo SMS Informer” and click the “Install” button:
- Go to the "Add-ons" -> "Add-ons Manager" section and click on the "Update" button in the window that opens.
This completes the installation of the module and you can proceed to editing the module settings.
-
Editing module settings
To edit the module’s settings, go to the site’s administrative panel and select the “Add-ons” -> ”Modules” section. In the list of modules for OpenCart that opens, select “NeoSeo SMS Informer” and click on the “Edit” button:
After that, the window for editing module settings will appear on the screen:
The “General” tab is used to configure the following parameters:
Turn on / off the module. In order to connect the module to the store, you need to select “Enabled” in the “Status” field:
Recipients of admin messages. This field is used to indicate the phone numbers of recipients of order notifications:
If you need to send SMS notifications to several recipients, enter their phone numbers, separated by commas:
- Auto completion. For the gateway to work correctly, you need a full phone number, for example, 38 095 111 11 11. But clients often enter only part of the number, for example, 095 111 11 11. In this field, specify the mask of the full value, for example 38 000 000 00 00, and the module itself will add the entered number with the missing numbers:
- Customer group. This field is used to indicate groups of customers to whom they should send SMS notifications:
In order for the SMS notification system to work, it is necessary:
Choose your preferred sms-mailing service and specify it in the “SMS-gateway” field;
Register on the official website of the selected service, get data for the API distribution and specify them in the fields “Login for SMS gateway”, “Password for SMS gateway”, “Sender for SMS gateway”.
The tab “Email templates” is used to configure SMS notification templates for each order status:
In this system, 7 order statuses are defined for which you can configure SMS notifications: new, processed, sent by new mail, sent by Ukrposhta, sent by courier, waiting for self-delivery, order completed.
For the order status “New” it is possible to configure the following parameters:
- Message. This module allows you to configure the SMS notification of the client in all languages of the store (in the example, English, Russian and Ukrainian languages):
And also an SMS notification for the administrator:
In this example, messages contain tags that can be used to populate fields. For example, the tag {order_id} contains the current order number. Using these tags, you can create a message in the desired form. Description of tags can be viewed on the “Fields” tab:
- Sending messages to the client and administrator. This module suggests sending an order notification to both the client and the administrator.
In order to configure sending messages, it is necessary to select one of three possible values in the “Send” field: “Disabled”, “Enabled”, “Forced”.
If you select “Disabled”, the message will not be sent.
If you select “Enabled”, a message will be sent if the notice of buyer notification is selected. In order to deliver it, you need to select the “Sales” -> ”Orders” -> “Order Overview” section in the site’s administrative panel and check the box “Notify the buyer”:
If you select “Forced”, the message will always be sent.
For the status of the order “Processing” it is possible to configure the following parameters:
- Message. This module allows you to configure the SMS notification of the client in all languages of the store (in the example, English, Russian and Ukrainian languages):
And also an SMS notification for the administrator:
Messages contain tags that you can use to fill in the fields. For example, the tag {order_id} contains the current order number. Using these tags, you can create a message in the desired form. Description of tags can be viewed on the “Fields” tab:
- Sending messages to the client and administrator. This module suggests sending an order notification to both the client and the administrator.
In order to configure sending messages, it is necessary to select one of three possible values in the “Send” field: “Disabled”, “Enabled”, “Forced”.
If you select “Disabled”, the message will not be sent.
If you select “Enabled”, a message will be sent if the notice of buyer notification is selected. In order to deliver it, you need to select the “Sales” -> ”Orders” -> “Order Overview” section in the site’s administrative panel and check the box “Notify the buyer”:
If you select “Forced”, the message will always be sent.
For the order status “Sent by new mail” it is possible to configure the following parameters:
- Message. This module allows you to configure the SMS notification of the client in all languages of the store (in the example, English, Russian and Ukrainian languages):
And also an SMS notification for the administrator:
Messages contain tags that you can use to fill in the fields. For example, the tag {order_id} contains the current order number. Using these tags, you can create a message in the desired form. Description of tags can be viewed on the “Fields” tab:
- Sending messages to the client and administrator. This module suggests sending an order notification to both the client and the administrator.
In order to configure sending messages, it is necessary to select one of three possible values in the “Send” field: “Disabled”, “Enabled”, “Forced”.
If you select “Disabled”, the message will not be sent.
If you select “Enabled”, a message will be sent if the notice of buyer notification is selected. In order to deliver it, you need to select the “Sales” -> ”Orders” -> “Order Overview” section in the site’s administrative panel and check the box “Notify the buyer”:
If you select “Forced”, the message will always be sent.
For the order status “Sent by Ukrposhta” it is possible to configure the following parameters:
- Message. This module allows you to configure the SMS notification of the client in all languages of the store (in the example, English, Russian and Ukrainian languages):
And also an SMS notification for the administrator:
Messages contain tags that you can use to fill in the fields. For example, the tag {order_id} contains the current order number. Using these tags, you can create a message in the desired form. Description of tags can be viewed on the “Fields” tab:
- Sending messages to the client and administrator. This module suggests sending an order notification to both the client and the administrator.
In order to configure sending messages, it is necessary to select one of three possible values in the “Send” field: “Disabled”, “Enabled”, “Forced”.
If you select “Disabled”, the message will not be sent.
If you select “Enabled”, a message will be sent if the notice of buyer notification is selected. In order to deliver it, you need to select the “Sales” -> ”Orders” -> “Order Overview” section in the site’s administrative panel and check the box “Notify the buyer”:
If you select “Forced”, the message will always be sent.
For the order status “Sent by courier” it is possible to configure the following parameters:
- Message. This module allows you to configure the SMS notification of the client in all languages of the store (in the example, English, Russian and Ukrainian languages):
And also an SMS notification for the administrator:
Messages contain tags that you can use to fill in the fields. For example, the tag {order_id} contains the current order number. Using these tags, you can create a message in the desired form. Description of tags can be viewed on the “Fields” tab:
- Sending messages to the client and administrator. This module suggests sending an order notification to both the client and the administrator.
In order to configure sending messages, it is necessary to select one of three possible values in the “Send” field: “Disabled”, “Enabled”, “Forced”.
If you select “Disabled”, the message will not be sent.
If you select “Enabled”, a message will be sent if the notice of buyer notification is selected. In order to deliver it, you need to select the “Sales” -> ”Orders” -> “Order Overview” section in the site’s administrative panel and check the box “Notify the buyer”:
If you select “Forced”, the message will always be sent.
For the order status “Pending pickup” it is possible to configure the following parameters:
- Message. This module allows you to configure the SMS notification of the client in all languages of the store (in the example, English, Russian and Ukrainian languages):
And also an SMS notification for the administrator:
Messages contain tags that you can use to fill in the fields. For example, the tag {order_id} contains the current order number. Using these tags, you can create a message in the desired form. Description of tags can be viewed on the “Fields” tab:
- Sending messages to the client and administrator. This module suggests sending an order notification to both the client and the administrator.
In order to configure sending messages, it is necessary to select one of three possible values in the “Send” field: “Disabled”, “Enabled”, “Forced”.
If you select “Disabled”, the message will not be sent.
If you select “Enabled”, a message will be sent if the notice of buyer notification is selected. In order to deliver it, you need to select the “Sales” -> ”Orders” -> “Order Overview” section in the site’s administrative panel and check the box “Notify the buyer”:
If you select “Forced”, the message will always be sent.
For the order status “Order Complete” it is possible to configure the following parameters:
- Message. This module allows you to configure the SMS notification of the client in all languages of the store (in the example, English, Russian and Ukrainian languages):
And also an SMS notification for the administrator:
Messages contain tags that you can use to fill in the fields. For example, the tag {order_id} contains the current order number. Using these tags, you can create a message in the desired form. Description of tags can be viewed on the “Fields” tab:
- Sending messages to the client and administrator. This module suggests sending an order notification to both the client and the administrator.
In order to configure sending messages, it is necessary to select one of three possible values in the “Send” field: “Disabled”, “Enabled”, “Forced”.
If you select “Disabled”, the message will not be sent.
If you select “Enabled”, a message will be sent if the notice of buyer notification is selected. In order to deliver it, you need to select the “Sales” -> ”Orders” -> “Order Overview” section in the site’s administrative panel and check the box “Notify the buyer”:
If you select “Forced”, the message will always be sent.
The tab “New reviews” is used to configure the text of notifications of new reviews on products:
This tab contains the following fields:
- Status. In order for the administrator of your site to receive sms notifications of new reviews on products, in this field, select the value “Enabled”:
- Notification text. This field is intended for the formation of the text of the notification about a new review, for the site administrator. When composing a message, you can use special tags:
{product_name} - product name;
{product_sku} - product code;
{product_model} - product model;
{product_id} - product code.
For example, enter the following text: New product review {product_name}, model {product_model}:
Important!!! After adding all the changes, click the “Save” button:
As a result, when placing orders, the recipient of admin messages will receive the following SMS notifications:
SMS-notifications for the client when placing an order are as follows:
UPDATE from 08/19/2019
Added the ability to send messages to site administrators via Telegram messenger.
Sending messages to Telegram
The module provides the ability to send notifications to administrators via the Telegram messenger. Configuring the sending of notifications is carried out in several stages.
Training. To send messages via Telegram you need to register a bot - a robot that has access to the Telegram API and will send you messages. To do this, you need to find a bot in Telegram named BotFather and ask him to create a bot for us.
Bots themselves cannot start a chat, so you need to initiate a conversation. After starting the conversation, you need to give the command:
BotFather - / newbot - create a new bot.
After that, you will need to enter the name of your bot twice. There is a restriction on the name of the bot - it must end in “bot”. When the bot is successfully created BotFather will give you the API key of the new bot. Using this key, you will send requests to your bot. Keep this key a secret, because then anyone can connect to your bot and use it for unknown purposes (including bad ones).
Setting up the bot. So, the bot is created. Now we need our bot to start sending notifications. According to Telegram rules, a bot cannot initiate chats with people on its own, so we need to do this on our own. We find our bot in a telegram and initiate a conversation with him (by clicking the start button). After that, we need to send the bot a request of the following form:
https://api.telegram.org/bot<API_KEY>/getUpdates
This can be done through a browser or Postman program, or something similar. In response, the bot should send us a message in JSON format
We are interested in the chat identifier in this message, we will use it to receive messages - or rather, we will send messages to this chat. Each new person who connects to the bot will initiate a new chat with a new identifier. Therefore, if you need to send messages to several people, one of them must create a chat with the bot and then add other people to the conversation, otherwise each one will create a separate chat with the bot and the bot will send notifications to only one recipient.
Configuring the sending of notifications in the module. After we have received all the necessary data, it's time to configure our module. In the module settings on the “Notifications to administrators” tab, set the following parameters:
choose notification options - via SMS or via Telegram;
for SMS notifications, enter recipient numbers separated by commas;
we enter the API key and the identifier of our chat bot to receive notifications in Telegram.
Done. You will receive notifications in telegrams of new orders, changes in order status, as well as new reviews.
UPDATE from 08/20/2019
A button for sending notifications via SMS has been added to the header of the administrative zone.
After installing the module and updating the modifiers cache in the admin panel header, a button for sending notifications via SMS appears.
For the correct operation of sending SMS, it is necessary in the settings to grant the rights to the respective user groups to view and change “marketing / neoseo_sms_notify”
By clicking on the send SMS button in the header, the message sending form will be displayed:
Enter the recipient’s mobile number, enter the message text and click the “Send message” button.
You will be informed about the results of sending by pop-up message.
Comments