Version Description
Fixed bug
Download this release
Release Info
Developer | printful |
Plugin | Printful Integration for WooCommerce |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- includes/class-printful-shipping.php +2 -1
- printful-shipping.php +2 -2
- readme.txt +8 -1
includes/class-printful-shipping.php
CHANGED
@@ -121,7 +121,8 @@ class Printful_Shipping extends WC_Shipping_Method
|
|
121 |
$values = implode(',', array_unique($ids));
|
122 |
$key = 'printful_productids_'.md5($values);
|
123 |
$printful_ids = get_transient($key);
|
124 |
-
if ($printful_ids
|
|
|
125 |
try {
|
126 |
$client = Printful_Integration::instance()->get_client();
|
127 |
$status = $client->get('sync/variants', array(
|
121 |
$values = implode(',', array_unique($ids));
|
122 |
$key = 'printful_productids_'.md5($values);
|
123 |
$printful_ids = get_transient($key);
|
124 |
+
if (!is_array($printful_ids)) {
|
125 |
+
$printful_ids = array();
|
126 |
try {
|
127 |
$client = Printful_Integration::instance()->get_client();
|
128 |
$status = $client->get('sync/variants', array(
|
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: 1.2
|
7 |
Author: Printful
|
8 |
Author URI: http://www.theprintful.com
|
9 |
License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -16,7 +16,7 @@ new Printful_Base();
|
|
16 |
|
17 |
class Printful_Base {
|
18 |
|
19 |
-
const VERSION = '1.2';
|
20 |
|
21 |
/**
|
22 |
* Construct the plugin.
|
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: 1.2.1
|
7 |
Author: Printful
|
8 |
Author URI: http://www.theprintful.com
|
9 |
License: GPL2 http://www.gnu.org/licenses/gpl-2.0.html
|
16 |
|
17 |
class Printful_Base {
|
18 |
|
19 |
+
const VERSION = '1.2.1';
|
20 |
|
21 |
/**
|
22 |
* Construct the plugin.
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: girts_u
|
|
3 |
Tags: woocommerce, printful, drop shipping, shipping, shipping rates, fulfillment, printing, fedex, carriers, checkout, t-shirts
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.5.2
|
6 |
-
Stable tag: 1.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -40,6 +40,9 @@ Go to https://www.theprintful.com/dashboard/store , select your WooCommerce stor
|
|
40 |
3. Shipping rate selection
|
41 |
|
42 |
== Upgrade Notice ==
|
|
|
|
|
|
|
43 |
|
44 |
= 1.2 =
|
45 |
Support calculating shipping rates for both Printful and non-Printful products at the same time
|
@@ -63,6 +66,10 @@ Minor improvements
|
|
63 |
First release
|
64 |
|
65 |
== Changelog ==
|
|
|
|
|
|
|
|
|
66 |
|
67 |
= 1.2 =
|
68 |
* Support calculating shipping rates for both Printful and non-Printful products at the same time (non-Printful
|
3 |
Tags: woocommerce, printful, drop shipping, shipping, shipping rates, fulfillment, printing, fedex, carriers, checkout, t-shirts
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.5.2
|
6 |
+
Stable tag: 1.2.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
40 |
3. Shipping rate selection
|
41 |
|
42 |
== Upgrade Notice ==
|
43 |
+
|
44 |
+
= 1.2.1 =
|
45 |
+
Fixed bug
|
46 |
|
47 |
= 1.2 =
|
48 |
Support calculating shipping rates for both Printful and non-Printful products at the same time
|
66 |
First release
|
67 |
|
68 |
== Changelog ==
|
69 |
+
|
70 |
+
|
71 |
+
= 1.2.1 =
|
72 |
+
* Fixed bug that could have show error message when calculating shipping rates
|
73 |
|
74 |
= 1.2 =
|
75 |
* Support calculating shipping rates for both Printful and non-Printful products at the same time (non-Printful
|