Changeset 3061739
- Timestamp:
- 03/31/2024 11:59:43 AM (2 years ago)
- Location:
- order-approval-by-customer-for-woocommerce
- Files:
-
- 8 added
- 2 edited
-
tags/1.2.2 (added)
-
tags/1.2.2/languages (added)
-
tags/1.2.2/languages/opproval.pot (added)
-
tags/1.2.2/order-approval.php (added)
-
tags/1.2.2/readme.txt (added)
-
tags/1.2.2/style.css (added)
-
trunk/languages (added)
-
trunk/languages/opproval.pot (added)
-
trunk/order-approval.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
order-approval-by-customer-for-woocommerce/trunk/order-approval.php
r2495728 r3061739 1 1 <?php 2 2 /** 3 * Plugin Name: O rder Approval by Customer for WooCommerce4 * Description: This plugin enables the order approval by Customers for woocommerce. The customers can change the order status/approve the order when it has order status set as Delivered.5 * Version: 1.2. 13 * Plugin Name: Opproval - Order Approval by Customer 4 * Description: Deliver the order and let your customers mark the delivery as completed after receiving the product. 5 * Version: 1.2.2 6 6 * Author: MS Web Arts 7 7 * Author URI: https://www.mswebarts.com/ 8 8 * License: GPL v2 or later 9 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 * Text Domain: o rder-approval10 * Text Domain: opproval 11 11 12 {Plugin Name} is free software: you can redistribute it and/or modify13 it under the terms of the GNU General Public License as published by14 the Free Software Foundation, either version 2 of the License, or15 any later version.16 17 {Plugin Name} is distributed in the hope that it will be useful,18 but WITHOUT ANY WARRANTY; without even the implied warranty of19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the20 GNU General Public License for more details.21 22 You should have received a copy of the GNU General Public License23 along with {Plugin Name}. If not, see {License URI}.24 12 */ 25 13 … … 36 24 function msoa_woocommerce_dependency_error() { 37 25 $class = 'notice notice-error'; 38 $message = __( 'You must need to install and activate woocommerce for Order Approval to work', 'o rder-approval' );26 $message = __( 'You must need to install and activate woocommerce for Order Approval to work', 'opproval' ); 39 27 40 28 printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) ); 29 } 30 31 // Load plugin textdomain 32 add_action( 'init', 'msoa_load_textdomain' ); 33 function msoa_load_textdomain() { 34 load_plugin_textdomain( 'opproval', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 41 35 } 42 36 … … 72 66 73 67 if ( 'wc-processing' === $key ) { 74 $new_order_statuses['wc-delivered'] = __( 'Delivered', 'o rder-approval' );68 $new_order_statuses['wc-delivered'] = __( 'Delivered', 'opproval' ); 75 69 } 76 70 } … … 98 92 <input type="hidden" name="order_id" value="<?php echo esc_attr($order_id);?>"> 99 93 <?php wp_nonce_field( 'so_38792085_nonce_action', '_so_38792085_nonce_field' ); ?> 100 <input class="int-button-small" type="submit" value="<?php echo esc_attr_e( 'Mark as Received', 'o rder-approval' ); ?>" data-toggle="tooltip" title="<?php echo esc_attr_e( 'Click to mark the order as complete if you have received the product', 'order-approval' ); ?>">94 <input class="int-button-small" type="submit" value="<?php echo esc_attr_e( 'Mark as Received', 'opproval' ); ?>" data-toggle="tooltip" title="<?php echo esc_attr_e( 'Click to mark the order as complete if you have received the product', 'opproval' ); ?>"> 101 95 </form> 102 96 </div> -
order-approval-by-customer-for-woocommerce/trunk/readme.txt
r2674292 r3061739 1 === O rder Approval by Customer for WooCommerce ===2 Contributors: mswebarts , msshohan1 === Opproval - Order Approval by Customer for WooCommerce === 2 Contributors: mswebarts 3 3 Tags: woocommerce, order, approval, mark order 4 4 Requires at least: 4.6 5 Tested up to: 5. 95 Tested up to: 5.8 6 6 Requires PHP: 5.6 7 Stable tag: 1.2. 17 Stable tag: 1.2.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 This plugin will help you improve the WooCommerce workflow and gain customer trust by completing the order only when they have received the products. 11 Deliver the order and let your customers mark the delivery as completed after receiving the product. 12 12 13 13 == Description == … … 87 87 == Changelog == 88 88 89 = 1. 0.1 =90 * Initial release89 = 1.2.1 = 90 * Compatibility with WordPress 6.5 and WC 8.7 91 91 92 = 1.2 = 92 = 1.2.1 = 93 * Added compatibility for WordPress 5.8 94 95 = 1.2.0 = 93 96 * Added compatibility for WordPress 5.6.2 94 97 * Hidden Mark As Received button after form submit 95 98 * Fixed order status text update without manually refreshing 96 99 97 = 1. 2.1 =98 * Added compatibility for WordPress 5.8100 = 1.0.1 = 101 * Initial release
Note: See TracChangeset
for help on using the changeset viewer.