https://github.com/bulkgate/woosms-extensions
➕ 👻 Extension plugins for WooSMS
https://github.com/bulkgate/woosms-extensions
admin-sms bulkgate customer-sms sms variables woosms woosms-extensions
Last synced: 3 months ago
JSON representation
➕ 👻 Extension plugins for WooSMS
- Host: GitHub
- URL: https://github.com/bulkgate/woosms-extensions
- Owner: BulkGate
- License: mit
- Created: 2018-11-07T09:37:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T10:58:48.000Z (about 4 years ago)
- Last Synced: 2025-01-03T04:17:46.416Z (5 months ago)
- Topics: admin-sms, bulkgate, customer-sms, sms, variables, woosms, woosms-extensions
- Language: PHP
- Homepage: http://www.woosms.net
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WooSMS Extensions plugins
## Customer & Admin SMS Variables extensions
```php
add_action("woosms_extends_variables", function(Extensions\Hook\Variables $variables, Extensions\Database\IDatabase $database)
{
$result = $database->execute('SELECT `tracking_number` FROM `order` WHERE order_id = "'.$database->escape($variables->get('order_id')).'"');if($result->getNumRows())
{
$row = $result->getRow();
$variables->set('tracking_number', $row->tracking_number);
}/** Now you can use in Customer or Admin SMS variable */
}, 20, 2);
```## Ready made solutions
**woosms-aftership-exntesion** - Customer & Admin SMS variables extension https://wordpress.org/plugins/aftership-woocommerce-tracking/
```
<_aftership_tracking_provider>, <_aftership_tracking_provider_name>, <_aftership_tracking_required_fields>,
<_aftership_tracking_number>, <_aftership_tracking_shipdate>, <_aftership_tracking_postal>,
<_aftership_tracking_account>, <_aftership_tracking_key>, <_aftership_tracking_destination_country>
```**woosms-wcst-shipping-tracking** - Customer & Admin SMS variables extension https://codecanyon.net/item/woocommerce-shipping-tracking/11363158
```
<_wcst_order_trackno>, <_wcst_track_without_tracking_code>, <_wcst_order_dispatch_date>,
<_wcst_custom_text>, <_wcst_order_trackname>, <_wcst_order_trackurl>, <_wcst_order_track_http_url>
```**woosms-eupago-multibanco** - Customer & Admin SMS variables extension https://wordpress.org/plugins/eupago-for-woocommerce/
```
<_eupago_multibanco_entidade>, <_eupago_multibanco_referencia>
```