Skip to content

Commit f32f4ff

Browse files
committed
Prepare for 2.0.2 release
1 parent 69cb9d1 commit f32f4ff

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

order-handler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ function star_cloudprnt_print_receipt_header(&$printer, &$selectedPrinter, &$ord
245245
$printer->add_text_line("Order Status: ".$order->get_status());
246246
$order_date = date("{$date_format} {$time_format}", $order->get_date_created()->getOffsetTimestamp());
247247
$printer->add_text_line("Order Date: {$order_date}");
248-
248+
249+
$printer->add_new_line(1);
249250
if (isset($shipping_items['name']))
250251
{
251-
$printer->add_new_line(1);
252252
$printer->add_text_line("Shipping Method: ".$shipping_items['name']);
253253
}
254254
$printer->add_text_line("Payment Method: ".$order_meta['_payment_method_title'][0]);

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: star, printing, printers, automated, e-commerce, store, sales, downloadabl
44
Requires at least: 5.0
55
Tested up to: 5.6
66
Requires PHP: 7.2
7-
Stable tag: 2.0.1
7+
Stable tag: 2.0.2
88
License: MIT
99

1010
Star CloudPRNT for WooCommerce enables Cloud printing technology with your Star Receipt printer.
@@ -110,6 +110,9 @@ This means that you printer is unable to connect with your server, and can have
110110

111111
== Changelog ==
112112

113+
= 2.0.2 =
114+
* Fix missing "Shipping Method" from the receipt header.
115+
113116
= 2.0.1 =
114117
* Do not print any blank lines when the title, or item footer text is empty
115118
* Add some mailchimp metadata key names to the defailt exclusions list

star-cloudprnt-for-woocommerce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Star CloudPRNT for WooCommerce
44
* Plugin URI: http://www.star-emea.com
55
* Description: Star CloudPRNT for WooCommerce enables cloud printing technology with your Star Receipt printer.
6-
* Version: 2.0.2 beta 01
6+
* Version: 2.0.2
77
* Author: lawrenceowen, athompson1, gcubero, fmahmood
88
* Author URI: http://www.star-emea.com/support
99
* Requires at least: 5.0

0 commit comments

Comments
 (0)