Plugin Directory

Changeset 3049563


Ignore:
Timestamp:
03/12/2024 07:28:01 AM (2 years ago)
Author:
moceanapiplugin
Message:

Added keyword order_latest_cust_notes

Location:
moceanapi-sendsms
Files:
482 added
5 edited

Legend:

Unmodified
Added
Removed
  • moceanapi-sendsms/trunk/includes/class-moceansms-woocommerce-notification.php

    r3018586 r3049563  
    351351            '[order_amount]',
    352352            '[order_status]',
     353            '[order_latest_cust_note]',
    353354            '[order_product]',
    354355            '[order_product_with_qty]',
     
    373374            $order_details->get_total(),
    374375            ucfirst( $order_details->get_status() ),
     376            isset($order_details->get_customer_order_notes()[0]->comment_content) ? $order_details->get_customer_order_notes()[0]->comment_content : "",
    375377            $product_name,
    376378            $product_with_qty,
  • moceanapi-sendsms/trunk/includes/multivendor/class-moceansms-multivendor-notification.php

    r2872937 r3049563  
    127127            '[order_amount]',
    128128            '[order_status]',
     129            '[order_latest_cust_note]',
    129130            '[order_product]',
    130131            '[order_product_with_qty]',
     
    150151            $vendor_datas['total_amount_for_vendor'],
    151152            ucfirst( $order_details->get_status() ),
     153            isset($order_details->get_customer_order_notes()[0]->comment_content) ? $order_details->get_customer_order_notes()[0]->comment_content : "",
    152154            $vendor_datas['item'],
    153155            $vendor_datas['product_with_qty'],
  • moceanapi-sendsms/trunk/js/admin.js

    r2965618 r3049563  
    6969            shopKeywords = ['shop_name', 'shop_email', 'shop_url'];
    7070        }
    71         const orderKeywords = ['order_id', 'order_currency', 'order_amount', 'order_product_with_qty', 'order_product', 'order_status'];
     71        const orderKeywords = ['order_id', 'order_currency', 'order_amount', 'order_latest_cust_note', 'order_product_with_qty', 'order_product', 'order_status'];
    7272        let billingKeywords = ['billing_first_name', 'billing_last_name', 'billing_phone', 'billing_email', 'billing_company', 'billing_address', 'billing_country', 'billing_city', 'billing_state', 'billing_postcode', 'payment_method'];
    7373
  • moceanapi-sendsms/trunk/moceansms-woocommerce.php

    r3018586 r3049563  
    55Plugin URI:  https://dashboard.moceanapi.com
    66Description: MoceanAPI Send SMS
    7 Version:     1.4.10
     7Version:     1.4.11
    88Author:      Micro Ocean Technologies
    99Author URI:  https://moceanapi.com
  • moceanapi-sendsms/trunk/readme.txt

    r3018586 r3049563  
    44Requires at least: 3.8
    55Tested up to: 6.0
    6 Stable tag: 1.4.10
     6Stable tag: 1.4.11
    77
    88A plugin to send SMS notification to your wordpress users
     
    155155
    156156== Changelog ==
     157
     158= 1.4.11 =
     159* Added new keyword [order_cust_latest_note]
     160* order_latest_cust_note will display the latest customer note (public) from WooCommerce order in SMS content.
    157161
    158162= 1.4.10 =
Note: See TracChangeset for help on using the changeset viewer.