Skip to content

Commit

Permalink
Merge pull request #81 from thrivedesk/revert-80-feat/wc-custom-order…
Browse files Browse the repository at this point in the history
…-plugin-support

feat: added wc custom order plugin support"
  • Loading branch information
pronob1010 authored Feb 12, 2024
2 parents a64857d + 38170dc commit 0080da0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thrivedesk",
"version": "1.2",
"version": "1.2.3",
"description": "ThriveDesk - Customer Support & Helpdesk Software for WordPress Startups",
"scripts": {
"dev": "npm run development",
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: thrivedesk
Tags: helpdesk, support ticket, livechat, support plugin, ticket system chat, chatbot, knowledge base, support, help center, customer care, woocommerce, surecart, freemius, thrivedesk
Requires at least: 4.9
Tested up to: 6.4
Stable Tag: 1.2.2
Stable Tag: 1.2.3
Requires PHP: 5.5
License: GNU General Public License v2.0 or later

Expand Down Expand Up @@ -232,6 +232,9 @@ Privacy is our utmost priority, and we designed ThriveDesk in a way that aligned
- Easy setup: Setup your Shared Inbox in less than a minute.

== Changelog ==
= 1.2.3 =
- Feat: Woocommerce custom order status support added.

= 1.2.2 =
- Assets Update

Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/WooCommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function get_orders(): array {
'amount' => (float) $order->get_total(),
'amount_formated' => $this->get_formated_amount( $order->get_total() ),
'date' => date( 'd M Y', strtotime( $order->get_date_created() ) ),
'order_status' => ucfirst( wc_get_order_status_name( $order->get_status() )),
'order_status' => ucfirst( $order->get_status() ),
'shipping' => $this->shipping_param ? $this->get_shipping_details( $order ) : [],
'downloads' => $this->get_order_items( $order ),
'order_url' => method_exists( $order,
Expand Down
4 changes: 2 additions & 2 deletions thrivedesk.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Live Chat, Help Desk & Knowledge Base plugin for WordPress
* Plugin URI: https://www.thrivedesk.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
* Tags: live chat, helpdesk, free live chat, knowledge base, thrivedesk
* Version: 1.2.2
* Version: 1.2.3
* Author: ThriveDesk
* Author URI: https://profiles.wordpress.org/thrivedesk/
* Text Domain: thrivedesk
Expand Down Expand Up @@ -50,7 +50,7 @@ final class ThriveDesk
*
* @var string
*/
public $version = '1.2.2';
public $version = '1.2.3';

/**
* The single instance of this class
Expand Down

0 comments on commit 0080da0

Please sign in to comment.