Skip to content

Commit 314c990

Browse files
committed
v1.7.3
1 parent c3fb565 commit 314c990

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wcpos/woocommerce-pos",
3-
"version": "1.7.2",
3+
"version": "1.7.3",
44
"description": "A simple front-end for taking WooCommerce orders at the Point of Sale.",
55
"main": "index.js",
66
"workspaces": {

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: kilbot
33
Tags: ecommerce, point-of-sale, pos, inventory, woocommerce
44
Requires at least: 5.6
55
Tested up to: 6.7
6-
Stable tag: 1.7.2
6+
Stable tag: 1.7.3
77
License: GPL-3.0
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99

@@ -88,6 +88,10 @@ There is more information on our website at [https://wcpos.com](https://wcpos.co
8888

8989
== Changelog ==
9090

91+
= 1.7.3 - 2025/03/21 =
92+
* Fix: default receipt template to display Miscellaneous Product Price and better match WooCommerce templates
93+
* Fix: issue where customer data is not correctly clearing when switching from Customer to Guest
94+
9195
= 1.7.2 - 2024/12/27 =
9296
* Fix: Negative fees with tax_status='none' and/or tax_class are now applied correctly to the order
9397
* Fix: Remove routes from WP API index for POS to reduce request size

templates/receipt.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -285,22 +285,16 @@
285285
</tr>
286286
<?php } ?>
287287
<?php if ( wc_tax_enabled() ) : ?>
288-
<?php
289-
$tax_display = get_option( 'woocommerce_tax_display_cart' );
290-
$tax_suffix = ( 'incl' === $tax_display )
291-
? ' ' . esc_html__('(incl. tax)', 'woocommerce')
292-
: ' ' . esc_html__('(excl. tax)', 'woocommerce');
293-
?>
294288
<?php if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) { ?>
295289
<?php foreach ( $order->get_tax_totals() as $code => $tax ) { ?>
296290
<tr>
297-
<th colspan="3"><?php echo esc_html( $tax->label ) . $tax_suffix; ?></th>
291+
<th colspan="3"><?php echo esc_html( $tax->label ); ?></th>
298292
<td><?php echo wp_kses_post( wc_price( $tax->amount ) ); ?></td>
299293
</tr>
300294
<?php } ?>
301295
<?php } else { ?>
302296
<tr>
303-
<th colspan="3"><?php echo esc_html( WC()->countries->tax_or_vat() ) . $tax_suffix; ?></th>
297+
<th colspan="3"><?php echo esc_html( WC()->countries->tax_or_vat() ); ?></th>
304298
<td><?php echo wp_kses_post( wc_price( $order->get_total_tax() ) ); ?></td>
305299
</tr>
306300
<?php } ?>

woocommerce-pos.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WooCommerce POS
44
* Plugin URI: https://wordpress.org/plugins/woocommerce-pos/
55
* Description: A simple front-end for taking WooCommerce orders at the Point of Sale. Requires <a href="http://wordpress.org/plugins/woocommerce/">WooCommerce</a>.
6-
* Version: 1.7.2
6+
* Version: 1.7.3
77
* Author: kilbot
88
* Author URI: http://wcpos.com
99
* Text Domain: woocommerce-pos
@@ -14,7 +14,7 @@
1414
* Tested up to: 6.7
1515
* Requires PHP: 7.4
1616
* Requires Plugins: woocommerce
17-
* WC tested up to: 9.4
17+
* WC tested up to: 9.7
1818
* WC requires at least: 5.3
1919
*
2020
* @see http://wcpos.com
@@ -24,7 +24,7 @@
2424
namespace WCPOS\WooCommercePOS;
2525

2626
// Define plugin constants.
27-
const VERSION = '1.7.2';
27+
const VERSION = '1.7.3';
2828
const PLUGIN_NAME = 'woocommerce-pos';
2929
const SHORT_NAME = 'wcpos';
3030
\define( __NAMESPACE__ . '\PLUGIN_FILE', plugin_basename( __FILE__ ) ); // 'woocommerce-pos/woocommerce-pos.php'

0 commit comments

Comments
 (0)