From 5e41586de5d5c81e39256cfb6cd4a400c533f211 Mon Sep 17 00:00:00 2001 From: Krzysztof Kasowski Date: Tue, 21 Mar 2017 16:29:54 +0100 Subject: [PATCH] release 2.0.10.1 --- CHANGELOG.md | 3 ++ jigoshop.php | 2 +- readme.txt | 63 ++++++++++++++++++++++--- src/Jigoshop/Core.php | 2 +- src/Jigoshop/Service/ProductService.php | 4 +- 5 files changed, 63 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9ddb5f1..101fcdb3 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ ## Changelog + +* 2.0.10.1 - 2017.03.21: + * Fix: Fatal error on product save. * 2.0.10 - 2017.03.21: * Fix: Added Layout settings tab. * Fix: Some action hook names. diff --git a/jigoshop.php b/jigoshop.php index 292be6cb..9edc90f9 100755 --- a/jigoshop.php +++ b/jigoshop.php @@ -20,7 +20,7 @@ * Description: Jigoshop, a WordPress eCommerce plugin that works. * Author: Jigoshop * Author URI: http://www.jigoshop.com - * Version: 2.0.10 + * Version: 2.0.10.1 * Requires at least: 4.0 * Tested up to: 4.7.3 * Text Domain: jigoshop diff --git a/readme.txt b/readme.txt index 07617c7f..59026232 100755 --- a/readme.txt +++ b/readme.txt @@ -5,9 +5,10 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i Requires at least: 4.0 Tested up to: 4.7.3 -Stable tag: 2.0.10 +Stable tag: 2.0.10.1 + +A feature-packed eCommerce plugin built upon WordPress core functionality ensuring excellent performance, customizability and control - robust Tax Settings, Stock Level Management, Free and Premium Extensions - you name it. -A feature-packed eCommerce plugin built upon WordPress core functionality ensuring excellent performance and customizability. == Description == @@ -24,15 +25,19 @@ With the option to create a multitude of product types and apply detailed attrib * Downloadable or Virtual products * Variable products (eg, offer `Size: S,M,L` for one product) * Affiliate (External) products (ie, link your `Add to cart` button off-site) -* Grouped products +* Simple products = DETAILED REPORTS = Inside the custom dashboard you get sortable sales graphs, incoming order / review notifications as well as stats on your stores performance. += STYLING = + +Adapt and customize your theme using the built-in Layout Manager. If you don't have one - no worries, the Simply Jigoshop theme is available for free! + = MANAGE STOCK = -Manage your stock levels and customer orders easily. Jigoshop has been engineered to make the boring parts of eCommerce, well, less boring! +Manage your stock levels and customer orders easily. Jigoshop eCommerce has been engineered to make the boring parts of eCommerce, well, less boring! = EXTEND YOUR SHOP = @@ -40,6 +45,28 @@ Extend Jigoshop eCommerce with Payment Gateways, Shipping Methods, and various o http://www.jigoshop.com/product-category/extensions/ +To list some important ones: + +1. Payment Gateways +* Authorize.Net +* SagePay +* 2Checkout +* Braintree +* Paypal + +2. Shipping Methods +* Table Rate Shipping +* Premium Shipping +* Official UPS Shipping +* Per Product Shipping +* USPS Shipping + +3. Misc Premium Extensions +* PDF Invoices +* Checkout Fields Manager +* Customer Discounts +* Official Duplicate Product +* Official Duplicate Orders = MORE INFO = @@ -49,6 +76,18 @@ Find out more on our official Jigoshop website: http://www.jigoshop.com/ += BECOME A PART OF THE COMMUNITY = + +You can become a part of the Jigoshop eCommerce in a variety of ways - either passively, by being a Jigoshop eCommerce user, or actively - let's focus on the latter: + +* Core Development - Resolve potential bugs and make improvements to the core of the plugin and get rewarded for it - check out our Core Contributors Section for more information. + +* Theme Development - Create themes and increase their exposure by submitting them on our website - For more information visit our Theme Developers Section. + +* Extension Development - + +* Language Translation - Provide Jigoshop eCommerce with your native language's translation. Check out our Language Translations Section. + == Installation == @@ -58,13 +97,21 @@ http://www.jigoshop.com/ * The mod_rewrite Apache module (for permalinks) * Some payment gateways require fsockopen support (for IPN access) -= Installation = += Manual Installation = 1. Download the Jigoshop eCommerce plugin file 2. Unzip the file into a folder to your computer -3. Upload the `/jigoshop/` folder to the `/wp-content/plugins/` folder on your site +3. Upload the `/jigoshop-ecommerce/` folder to the `/wp-content/plugins/` folder on your site 4. Visit the plugins page in WordPress Admin to activate the Jigoshop plugin += Automatic Installation = + +1. Login to your WordPress Dashboard. +2. Go to Plugins -> Add New +3. Type "Jigoshop eCommerce" into the Search input +4. Click on "Install Now" +5. Click on "Activate" + = Setting up Jigoshop = Take a look through our Jigoshop usage guides to help you setup Jigoshop for the first time. @@ -73,7 +120,7 @@ Take a look through our give us a shout and we may be able to assist. @@ -104,6 +151,8 @@ However, if you want priority, dedicated support from Jigoshop staff, we dp offe == Changelog == += 2.0.10.1 - 2017.03.21 = +* Fix: Fatal error on product save. = 2.0.10 - 2017.03.21 = * Fix: Added Layout settings tab. * Fix: Some action hook names. diff --git a/src/Jigoshop/Core.php b/src/Jigoshop/Core.php index ae7145ef..1d7a67b7 100755 --- a/src/Jigoshop/Core.php +++ b/src/Jigoshop/Core.php @@ -13,7 +13,7 @@ class Core { - const VERSION = '2.0.10'; + const VERSION = '2.0.10.1'; const WIDGET_CACHE = 'jigoshop_widget_cache'; const TERMS = 'jigoshop_term'; diff --git a/src/Jigoshop/Service/ProductService.php b/src/Jigoshop/Service/ProductService.php index 76996d5f..d3465846 100755 --- a/src/Jigoshop/Service/ProductService.php +++ b/src/Jigoshop/Service/ProductService.php @@ -192,8 +192,8 @@ public function save(EntityInterface $object) $post['post_content'] = $fields['description']; } if(count($post)) { - $post['ID'] = $object->getId(); - $this->wp->wpUpdatePost($post); + $wpdb = $this->wp->getWPDB(); + $wpdb->update($wpdb->posts, $post, ['ID' => $object->getId()]); } unset($fields['id'], $fields['name'], $fields['description']);