Version Description
Added a new attribute to the plugin: "Total product orders" which holds the amount of times the specific product is sold. This enables you to create filters and rules on it.
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.3.2 |
Comparing to | |
See all releases |
Code changes from version 7.3.1 to 7.3.2
- classes/class-attributes.php +3 -1
- classes/class-get-products.php +8 -0
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +3 -3
classes/class-attributes.php
CHANGED
@@ -244,6 +244,7 @@ public function get_mapping_attributes_dropdown() {
|
|
244 |
"exclude_from_catalog" => "Excluded from catalog",
|
245 |
"exclude_from_search" => "Excluded from search",
|
246 |
"exclude_from_all" => "Excluded from all (hidden)",
|
|
|
247 |
"tax_status" => "Tax status",
|
248 |
"tax_class" => "Tax class",
|
249 |
"featured" => "Featured",
|
@@ -395,7 +396,8 @@ public function get_mapping_attributes_dropdown() {
|
|
395 |
"exclude_from_catalog" => "Excluded from catalog",
|
396 |
"exclude_from_search" => "Excluded from search",
|
397 |
"exclude_from_all" => "Excluded from all (hidden)",
|
398 |
-
"
|
|
|
399 |
"tax_status" => "Tax status",
|
400 |
"tax_class" => "Tax class",
|
401 |
"currency" => "Currency",
|
244 |
"exclude_from_catalog" => "Excluded from catalog",
|
245 |
"exclude_from_search" => "Excluded from search",
|
246 |
"exclude_from_all" => "Excluded from all (hidden)",
|
247 |
+
"total_product_orders" => "Total product orders",
|
248 |
"tax_status" => "Tax status",
|
249 |
"tax_class" => "Tax class",
|
250 |
"featured" => "Featured",
|
396 |
"exclude_from_catalog" => "Excluded from catalog",
|
397 |
"exclude_from_search" => "Excluded from search",
|
398 |
"exclude_from_all" => "Excluded from all (hidden)",
|
399 |
+
"total_product_orders" => "Total product orders",
|
400 |
+
"featured" => "Featured",
|
401 |
"tax_status" => "Tax status",
|
402 |
"tax_class" => "Tax class",
|
403 |
"currency" => "Currency",
|
classes/class-get-products.php
CHANGED
@@ -1816,6 +1816,10 @@ class WooSEA_Get_Products {
|
|
1816 |
// End product visibility logic
|
1817 |
$product_data['item_group_id'] = $this->parentID;
|
1818 |
|
|
|
|
|
|
|
|
|
1819 |
if($product_data['item_group_id'] > 0){
|
1820 |
$visibility_list = wp_get_post_terms($product_data['item_group_id'], 'product_visibility', array("fields" => "all"));
|
1821 |
} else {
|
@@ -2548,6 +2552,10 @@ class WooSEA_Get_Products {
|
|
2548 |
$product_data['exclude_from_search'] = "no";
|
2549 |
$product_data['exclude_from_all'] = "no";
|
2550 |
|
|
|
|
|
|
|
|
|
2551 |
$visibility_list = wp_get_post_terms($product_data['item_group_id'], 'product_visibility', array("fields" => "all"));
|
2552 |
foreach($visibility_list as $visibility_single){
|
2553 |
if($visibility_single->slug == "exclude-from-catalog"){
|
1816 |
// End product visibility logic
|
1817 |
$product_data['item_group_id'] = $this->parentID;
|
1818 |
|
1819 |
+
// Get number of orders for this product
|
1820 |
+
$product_data['total_product_orders'] = 0;
|
1821 |
+
$product_data['total_product_orders'] = get_post_meta($product_data['id'], 'total_sales', true);
|
1822 |
+
|
1823 |
if($product_data['item_group_id'] > 0){
|
1824 |
$visibility_list = wp_get_post_terms($product_data['item_group_id'], 'product_visibility', array("fields" => "all"));
|
1825 |
} else {
|
2552 |
$product_data['exclude_from_search'] = "no";
|
2553 |
$product_data['exclude_from_all'] = "no";
|
2554 |
|
2555 |
+
// Get number of orders for this product
|
2556 |
+
$product_data['total_product_orders'] = 0;
|
2557 |
+
$product_data['total_product_orders'] = get_post_meta($product_data['item_group_id'], 'total_sales', true);
|
2558 |
+
|
2559 |
$visibility_list = wp_get_post_terms($product_data['item_group_id'], 'product_visibility', array("fields" => "all"));
|
2560 |
foreach($visibility_list as $visibility_single){
|
2561 |
if($visibility_single->slug == "exclude-from-catalog"){
|
js/woosea_key.js
CHANGED
@@ -27,7 +27,7 @@ jQuery(document).ready(function($) {
|
|
27 |
var license_key = $('#license-key').val();
|
28 |
|
29 |
jQuery.ajax({
|
30 |
-
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.3.
|
31 |
jsonp: 'callback',
|
32 |
dataType: 'jsonp',
|
33 |
type: 'GET',
|
27 |
var license_key = $('#license-key').val();
|
28 |
|
29 |
jQuery.ajax({
|
30 |
+
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.3.2',
|
31 |
jsonp: 'callback',
|
32 |
dataType: 'jsonp',
|
33 |
type: 'GET',
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
5 |
Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.3
|
8 |
-
Stable tag: 7.3.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -309,6 +309,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
309 |
|
310 |
=== Changelog ===
|
311 |
|
|
|
|
|
|
|
312 |
= 7.3.1 (2020-01-26) =
|
313 |
* Fixed a shipping cost bug where the costs where multiplied with 100 for non-tax shipping cost calculations
|
314 |
|
@@ -2318,6 +2321,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2318 |
|
2319 |
== Upgrade Notice ==
|
2320 |
|
|
|
|
|
|
|
2321 |
= 7.3.1 =
|
2322 |
Fixed a shipping cost bug where the costs where multiplied with 100 for non-tax shipping cost calculations
|
2323 |
|
5 |
Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.3
|
8 |
+
Stable tag: 7.3.2
|
9 |
|
10 |
== Description ==
|
11 |
|
309 |
|
310 |
=== Changelog ===
|
311 |
|
312 |
+
= 7.3.2 (2020-01-26) =
|
313 |
+
* Added a new attribute to the plugin: "Total product orders" which holds the amount of times the specific product is sold. This enables you to create filters and rules on it.
|
314 |
+
|
315 |
= 7.3.1 (2020-01-26) =
|
316 |
* Fixed a shipping cost bug where the costs where multiplied with 100 for non-tax shipping cost calculations
|
317 |
|
2321 |
|
2322 |
== Upgrade Notice ==
|
2323 |
|
2324 |
+
= 7.3.2 =
|
2325 |
+
Added a new attribute to the plugin: "Total product orders" which holds the amount of times the specific product is sold. This enables you to create filters and rules on it.
|
2326 |
+
|
2327 |
= 7.3.1 =
|
2328 |
Fixed a shipping cost bug where the costs where multiplied with 100 for non-tax shipping cost calculations
|
2329 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 7.3.
|
5 |
* Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
|
6 |
* Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
|
7 |
* Author: AdTribes.io
|
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
|
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
-
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.3.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -3739,7 +3739,7 @@ function woosea_license_valid(){
|
|
3739 |
|
3740 |
if(!empty($license_information['license_key'])){
|
3741 |
$curl = curl_init();
|
3742 |
-
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.3.
|
3743 |
|
3744 |
curl_setopt_array($curl, array(
|
3745 |
CURLOPT_RETURNTRANSFER => 1,
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 7.3.2
|
5 |
* Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
|
6 |
* Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
|
7 |
* Author: AdTribes.io
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.3.2' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
3739 |
|
3740 |
if(!empty($license_information['license_key'])){
|
3741 |
$curl = curl_init();
|
3742 |
+
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.3.2";
|
3743 |
|
3744 |
curl_setopt_array($curl, array(
|
3745 |
CURLOPT_RETURNTRANSFER => 1,
|