Version Description
Bug causing "PHP Parse error" (appearing on some machines, e.g. PHP 5.3 servers) fixed. Upgrade immediately.
Download this release
Release Info
Developer | algoritmika |
Plugin | Booster for WooCommerce |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
includes/class-wcj-product-info.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* The WooCommerce Jetpack Product Info class.
|
6 |
*
|
7 |
* @class WCJ_Product_Info
|
8 |
-
* @version 1.1.
|
9 |
* @package WC_Jetpack/Classes
|
10 |
* @category Class
|
11 |
* @author Algoritmika Ltd.
|
@@ -90,9 +90,11 @@ class WCJ_Product_Info {
|
|
90 |
else if ( array_key_exists( $the_action_name, $this->product_info_on_single_filters_array ) )
|
91 |
$the_product_info = apply_filters( 'wcj_get_option_filter', 'Total sales: %total_sales%', get_option( 'wcj_product_info_on_single' ) );
|
92 |
global $product;
|
|
|
|
|
93 |
$product_info_shortcodes_array = array(
|
94 |
'%sku%' => $product->get_sku(),
|
95 |
-
|
96 |
);
|
97 |
foreach ( $product_info_shortcodes_array as $search_for_phrase => $replace_with_phrase )
|
98 |
$the_product_info = str_replace( $search_for_phrase, $replace_with_phrase, $the_product_info );
|
5 |
* The WooCommerce Jetpack Product Info class.
|
6 |
*
|
7 |
* @class WCJ_Product_Info
|
8 |
+
* @version 1.1.3
|
9 |
* @package WC_Jetpack/Classes
|
10 |
* @category Class
|
11 |
* @author Algoritmika Ltd.
|
90 |
else if ( array_key_exists( $the_action_name, $this->product_info_on_single_filters_array ) )
|
91 |
$the_product_info = apply_filters( 'wcj_get_option_filter', 'Total sales: %total_sales%', get_option( 'wcj_product_info_on_single' ) );
|
92 |
global $product;
|
93 |
+
$product_custom_fields = get_post_custom( $product->id );
|
94 |
+
$total_sales = ( isset( $product_custom_fields['total_sales'][0] ) ) ? $product_custom_fields['total_sales'][0] : 0;
|
95 |
$product_info_shortcodes_array = array(
|
96 |
'%sku%' => $product->get_sku(),
|
97 |
+
'%total_sales%' => $total_sales,
|
98 |
);
|
99 |
foreach ( $product_info_shortcodes_array as $search_for_phrase => $replace_with_phrase )
|
100 |
$the_product_info = str_replace( $search_for_phrase, $replace_with_phrase, $the_product_info );
|
includes/gateways/class-wc-gateway-wcj-custom.php
CHANGED
@@ -82,6 +82,7 @@ function init_wc_gateway_wcj_custom_class() {
|
|
82 |
$icon_url = $this->get_option( 'icon', '' );//apply_filters( 'woocommerce_wcj_custom_icon', $this->get_option( 'icon', '' ) );
|
83 |
if ( $icon_url !== '' )
|
84 |
$desc = '<img src="' . $icon_url . '" alt="WooJetpack Custom" title="WooJetpack Custom" />';
|
|
|
85 |
|
86 |
$this->form_fields = array(
|
87 |
'enabled' => array(
|
82 |
$icon_url = $this->get_option( 'icon', '' );//apply_filters( 'woocommerce_wcj_custom_icon', $this->get_option( 'icon', '' ) );
|
83 |
if ( $icon_url !== '' )
|
84 |
$desc = '<img src="' . $icon_url . '" alt="WooJetpack Custom" title="WooJetpack Custom" />';
|
85 |
+
//$desc = '<img src="' . $icon_url . '" alt="' . $this->method_description . '" title="' . $this->method_description . '" />';
|
86 |
|
87 |
$this->form_fields = array(
|
88 |
'enabled' => array(
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://algoritmika.com/donate/
|
|
4 |
Tags: woocommerce,woocommerce jetpack,custom price labels,call for price,currency symbol,remove sorting,remove old product slugs,add to cart text,order number,sequential order numbering,email pdf invoice,pdf invoice,pdf invoices,already in cart,empty cart,redirect to checkout,minimum order amount,customize checkout fields,checkout fields,email,customize product tabs,product tabs,related products number,empty cart,redirect add to cart,redirect to checkout,product already in cart,custom payment gateway,payment gateway icon,auto-complete all orders,custom order statuses,custom order status,remove text from price,custom css,hide categories count,hide subcategories count,hide category count,hide subcategory count,display total sales
|
5 |
Requires at least: 3.9.1
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -65,13 +65,14 @@ Please let us know if you want anything added to list by <a href="http://woojetp
|
|
65 |
|
66 |
If you wish that some task would go up the queue to make it faster, please contact us by <a href="http://woojetpack.com/contact-us/">filling this form</a>. We are listening carefully to our users!
|
67 |
|
68 |
-
= 1.7.
|
69 |
* New Feature - Smart Reports - Various reports based on products prices, sales, stock.
|
70 |
-
* Upgrade Feature -
|
71 |
* Upgrade Feature - Payment Gateways - Additional payment gateways. Idea by Kristof.
|
72 |
* Upgrade Feature - Shipping - Advance free shipping - Free shipping for multiple country/places. Each country/places different prices. Idea by LQTOYS.
|
73 |
* Upgrade Feature - PDF Invoices - Make emailing PDF as attachment option available for certain payment methods only (user selection). Idea by Jen.
|
74 |
* Upgrade Feature - PDF Invoices - Sending invoice on customer's request. Idea by Jen.
|
|
|
75 |
|
76 |
= 1.8.0 - 13/10/2014 =
|
77 |
* New Feature - Add second currency to the price.
|
@@ -100,6 +101,11 @@ If you wish that some task would go up the queue to make it faster, please conta
|
|
100 |
* Upgrade Feature - Checkout - Amazon Payments.
|
101 |
* Upgrade Feature - Orders - Maximum weight - "Contact us" to place order with products total weight over some amount.
|
102 |
* Upgrade Feature - Sorting - Add sorting by popularity in e.g. 90 days (not by `total_sales` as it is by default in WooCommerce).
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
= 2.0.0 - 27/10/2014 =
|
105 |
* Dev - Move all to `WooCommerce > Jetpack` menu.
|
@@ -109,8 +115,11 @@ If you wish that some task would go up the queue to make it faster, please conta
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
112 |
= 1.7.1 - 02/10/2014 =
|
113 |
-
* Fix - `%total_sales%` is temporary disabled.
|
114 |
This was causing "PHP Parse error" on some servers. Reported by Xavier.
|
115 |
|
116 |
= 1.7.0 - 02/10/2014 =
|
@@ -257,5 +266,8 @@ If you wish that some task would go up the queue to make it faster, please conta
|
|
257 |
|
258 |
== Upgrade Notice ==
|
259 |
|
|
|
|
|
|
|
260 |
= 1.0.0 =
|
261 |
This is the first release of the plugin.
|
4 |
Tags: woocommerce,woocommerce jetpack,custom price labels,call for price,currency symbol,remove sorting,remove old product slugs,add to cart text,order number,sequential order numbering,email pdf invoice,pdf invoice,pdf invoices,already in cart,empty cart,redirect to checkout,minimum order amount,customize checkout fields,checkout fields,email,customize product tabs,product tabs,related products number,empty cart,redirect add to cart,redirect to checkout,product already in cart,custom payment gateway,payment gateway icon,auto-complete all orders,custom order statuses,custom order status,remove text from price,custom css,hide categories count,hide subcategories count,hide category count,hide subcategory count,display total sales
|
5 |
Requires at least: 3.9.1
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.7.2
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
65 |
|
66 |
If you wish that some task would go up the queue to make it faster, please contact us by <a href="http://woojetpack.com/contact-us/">filling this form</a>. We are listening carefully to our users!
|
67 |
|
68 |
+
= 1.7.3 - 06/10/2014 =
|
69 |
* New Feature - Smart Reports - Various reports based on products prices, sales, stock.
|
70 |
+
* Upgrade Feature - PDF Invoices - International date formats. Idea by Jean-Marc.
|
71 |
* Upgrade Feature - Payment Gateways - Additional payment gateways. Idea by Kristof.
|
72 |
* Upgrade Feature - Shipping - Advance free shipping - Free shipping for multiple country/places. Each country/places different prices. Idea by LQTOYS.
|
73 |
* Upgrade Feature - PDF Invoices - Make emailing PDF as attachment option available for certain payment methods only (user selection). Idea by Jen.
|
74 |
* Upgrade Feature - PDF Invoices - Sending invoice on customer's request. Idea by Jen.
|
75 |
+
* Upgrade Feature - Custom Statuses - Bulk change status.
|
76 |
|
77 |
= 1.8.0 - 13/10/2014 =
|
78 |
* New Feature - Add second currency to the price.
|
101 |
* Upgrade Feature - Checkout - Amazon Payments.
|
102 |
* Upgrade Feature - Orders - Maximum weight - "Contact us" to place order with products total weight over some amount.
|
103 |
* Upgrade Feature - Sorting - Add sorting by popularity in e.g. 90 days (not by `total_sales` as it is by default in WooCommerce).
|
104 |
+
* New Feature - Integrating Amazon FBA inventory into WooCommerce.
|
105 |
+
Program that feeds the product information and pictures from Amazon to WooCommerce.
|
106 |
+
Also something that updates inventory between the two.
|
107 |
+
Programs like SellerActive and BigCommerce come close, but don’t do everything.
|
108 |
+
Idea by Dave.
|
109 |
|
110 |
= 2.0.0 - 27/10/2014 =
|
111 |
* Dev - Move all to `WooCommerce > Jetpack` menu.
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= 1.7.2 - 03/10/2014 =
|
119 |
+
* Fix - Product Info - `%total_sales%` fixed and enabled.
|
120 |
+
|
121 |
= 1.7.1 - 02/10/2014 =
|
122 |
+
* Fix - Product Info - `%total_sales%` is temporary disabled.
|
123 |
This was causing "PHP Parse error" on some servers. Reported by Xavier.
|
124 |
|
125 |
= 1.7.0 - 02/10/2014 =
|
266 |
|
267 |
== Upgrade Notice ==
|
268 |
|
269 |
+
= 1.7.2 =
|
270 |
+
Bug causing "PHP Parse error" (appearing on some machines, e.g. PHP 5.3 servers) fixed. Upgrade immediately.
|
271 |
+
|
272 |
= 1.0.0 =
|
273 |
This is the first release of the plugin.
|
woocommerce-jetpack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WooCommerce Jetpack
|
4 |
Plugin URI: http://woojetpack.com
|
5 |
Description: Supercharge your WooCommerce site with these awesome powerful features.
|
6 |
-
Version: 1.7.
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: http://www.algoritmika.com
|
9 |
Copyright: © 2014 Algoritmika Ltd.
|
@@ -22,6 +22,7 @@ if ( ! class_exists( 'WC_Jetpack' ) ) :
|
|
22 |
*
|
23 |
* @class WC_Jetpack
|
24 |
*/
|
|
|
25 |
final class WC_Jetpack {
|
26 |
|
27 |
/**
|
3 |
Plugin Name: WooCommerce Jetpack
|
4 |
Plugin URI: http://woojetpack.com
|
5 |
Description: Supercharge your WooCommerce site with these awesome powerful features.
|
6 |
+
Version: 1.7.2
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: http://www.algoritmika.com
|
9 |
Copyright: © 2014 Algoritmika Ltd.
|
22 |
*
|
23 |
* @class WC_Jetpack
|
24 |
*/
|
25 |
+
|
26 |
final class WC_Jetpack {
|
27 |
|
28 |
/**
|