Version Description
Fixed an issue with personalized order submit
Download this release
Release Info
Developer | printful |
Plugin | Printful Integration for WooCommerce |
Version | 2.1.4 |
Comparing to | |
See all releases |
Code changes from version 2.1.3 to 2.1.4
- includes/class-printful-customizer.php +8 -4
- printful-shipping.php +2 -2
- readme.txt +7 -1
includes/class-printful-customizer.php
CHANGED
@@ -90,14 +90,18 @@ class Printful_Customizer {
|
|
90 |
|
91 |
/**
|
92 |
* @param $itemId
|
93 |
-
* @param $
|
94 |
*
|
95 |
* @throws Exception
|
96 |
*/
|
97 |
-
public function save_customizer_hash_order_meta( $itemId, $
|
98 |
{
|
99 |
-
|
100 |
-
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
}
|
103 |
|
90 |
|
91 |
/**
|
92 |
* @param $itemId
|
93 |
+
* @param $item
|
94 |
*
|
95 |
* @throws Exception
|
96 |
*/
|
97 |
+
public function save_customizer_hash_order_meta( $itemId, $item )
|
98 |
{
|
99 |
+
if (empty($item->legacy_values)) {
|
100 |
+
return;
|
101 |
+
}
|
102 |
+
|
103 |
+
if ( isset( $item->legacy_values['pfc_hash'] ) ) {
|
104 |
+
wc_add_order_item_meta( $itemId, 'pfc_hash', $item->legacy_values['pfc_hash'] );
|
105 |
}
|
106 |
}
|
107 |
|
printful-shipping.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Printful Integration for WooCommerce
|
4 |
Plugin URI: https://wordpress.org/plugins/printful-shipping-for-woocommerce/
|
5 |
Description: Calculate correct shipping and tax rates for your Printful-Woocommerce integration.
|
6 |
-
Version: 2.1.
|
7 |
Author: Printful
|
8 |
Author URI: http://www.printful.com
|
9 |
License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -20,7 +20,7 @@ if ( ! defined( 'PF_PLUGIN_FILE' ) ) {
|
|
20 |
|
21 |
class Printful_Base {
|
22 |
|
23 |
-
const VERSION = '2.1.
|
24 |
const PF_HOST = 'https://www.printful.com/';
|
25 |
const PF_API_HOST = 'https://api.printful.com/';
|
26 |
|
3 |
Plugin Name: Printful Integration for WooCommerce
|
4 |
Plugin URI: https://wordpress.org/plugins/printful-shipping-for-woocommerce/
|
5 |
Description: Calculate correct shipping and tax rates for your Printful-Woocommerce integration.
|
6 |
+
Version: 2.1.4
|
7 |
Author: Printful
|
8 |
Author URI: http://www.printful.com
|
9 |
License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
|
20 |
|
21 |
class Printful_Base {
|
22 |
|
23 |
+
const VERSION = '2.1.4';
|
24 |
const PF_HOST = 'https://www.printful.com/';
|
25 |
const PF_API_HOST = 'https://api.printful.com/';
|
26 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: girts_u, kievins, kberzins
|
|
3 |
Tags: woocommerce, printful, drop shipping, shipping, shipping rates, fulfillment, printing, fedex, carriers, checkout, t-shirts
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -64,6 +64,9 @@ Go to https://www.printful.com/dashboard/store , select your WooCommerce store,
|
|
64 |
|
65 |
== Upgrade Notice ==
|
66 |
|
|
|
|
|
|
|
67 |
= 2.1.3 =
|
68 |
Fixed minor issue with site URL verification in plugin status page
|
69 |
|
@@ -150,6 +153,9 @@ First release
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
|
|
|
|
|
|
153 |
= 2.1.3 =
|
154 |
* Fixed minor issue with site URL verification in plugin status page
|
155 |
|
3 |
Tags: woocommerce, printful, drop shipping, shipping, shipping rates, fulfillment, printing, fedex, carriers, checkout, t-shirts
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 2.1.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
64 |
|
65 |
== Upgrade Notice ==
|
66 |
|
67 |
+
= 2.1.4 =
|
68 |
+
Fixed an issue with personalized order submit
|
69 |
+
|
70 |
= 2.1.3 =
|
71 |
Fixed minor issue with site URL verification in plugin status page
|
72 |
|
153 |
|
154 |
== Changelog ==
|
155 |
|
156 |
+
= 2.1.4 =
|
157 |
+
* Fixed an issue with personalized order submit
|
158 |
+
|
159 |
= 2.1.3 =
|
160 |
* Fixed minor issue with site URL verification in plugin status page
|
161 |
|