Changeset 2045848
- Timestamp:
- 03/07/2019 10:21:39 AM (7 years ago)
- Location:
- wp-profitshare-advertisers
- Files:
-
- 31 added
- 6 edited
-
tags/1.0.2.1 (added)
-
tags/1.0.2.1/assets (added)
-
tags/1.0.2.1/assets/css (added)
-
tags/1.0.2.1/assets/css/admin_settings.css (added)
-
tags/1.0.2.1/assets/css/categories.css (added)
-
tags/1.0.2.1/assets/js (added)
-
tags/1.0.2.1/assets/js/admin_settings.js (added)
-
tags/1.0.2.1/assets/js/categories.js (added)
-
tags/1.0.2.1/changelog.txt (added)
-
tags/1.0.2.1/includes (added)
-
tags/1.0.2.1/includes/controllers (added)
-
tags/1.0.2.1/includes/controllers/class-PWA-category.php (added)
-
tags/1.0.2.1/includes/controllers/class-PWA-core.php (added)
-
tags/1.0.2.1/includes/controllers/class-PWA-feed.php (added)
-
tags/1.0.2.1/includes/controllers/class-PWA-plugin.php (added)
-
tags/1.0.2.1/includes/controllers/class-PWA-product.php (added)
-
tags/1.0.2.1/includes/controllers/class-PWA-settings.php (added)
-
tags/1.0.2.1/includes/models (added)
-
tags/1.0.2.1/includes/models/model-PWA-categories.php (added)
-
tags/1.0.2.1/includes/models/model-PWA-wordpress-categories.php (added)
-
tags/1.0.2.1/includes/models/model-PWA.php (added)
-
tags/1.0.2.1/includes/templates (added)
-
tags/1.0.2.1/includes/templates/pwa_categories_template.php (added)
-
tags/1.0.2.1/includes/validators (added)
-
tags/1.0.2.1/includes/validators/validator-PWA-wordpress-category.php (added)
-
tags/1.0.2.1/includes/validators/validator-PWA.php (added)
-
tags/1.0.2.1/readme.txt (added)
-
tags/1.0.2.1/screenshot-1.png (added)
-
tags/1.0.2.1/screenshot-2.png (added)
-
tags/1.0.2.1/screenshot-3.png (added)
-
tags/1.0.2.1/wp-profitshare-advertisers.php (added)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/controllers/class-PWA-category.php (modified) (1 diff)
-
trunk/includes/controllers/class-PWA-plugin.php (modified) (1 diff)
-
trunk/includes/controllers/class-PWA-product.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-profitshare-advertisers.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-profitshare-advertisers/trunk/changelog.txt
r2041389 r2045848 1 = 1.0.0 = 1 1.0.0 2 2 Stable release for advertisers. 3 3 4 = 1.0.1 = 5 Update:Change module name to wp-profitshare-advertisers and fix products price for stores who are using woocommerce get_price method.4 1.0.1 5 Change module name to wp-profitshare-advertisers and fix products price for stores who are using woocommerce get_price method. 6 6 7 = 1.0.2 = 8 Add :static currencies, for Romania the currency is RON and, for Bulgary, the currency is BGN.7 1.0.2 8 Add static currencies, for Romania the currency is RON and, for Bulgary, the currency is BGN. 9 9 10 = 1.0.3 = 11 Update: logo 10 1.0.2.1 11 Fix possible bug for product type voucher in category & product page. -
wp-profitshare-advertisers/trunk/includes/controllers/class-PWA-category.php
r2040375 r2045848 93 93 $product = new PWA_Product($productId); 94 94 95 $averagePrice += $product->getSalePrice(); 95 // there was a problem with vouchers 96 if(empty($salePrice) || is_array($salePrice)) { 97 continue; 98 } 99 100 $averagePrice += $salePrice; 96 101 $totalProducts++; 97 102 } -
wp-profitshare-advertisers/trunk/includes/controllers/class-PWA-plugin.php
r2040704 r2045848 264 264 $categoryId = $wp_query->get_queried_object_id(); 265 265 $category = new PWA_Category($categoryId); 266 267 if(empty($category)) { 268 return; 269 } 266 270 ?> 267 271 -
wp-profitshare-advertisers/trunk/includes/controllers/class-PWA-product.php
r2040704 r2045848 111 111 public function getSalePrice() 112 112 { 113 return ($this->wooCommerceProduct->get_sale_price()) ? $this->wooCommerceProduct->get_sale_price() : $this->get('price'); 113 $price = $this->get('price'); 114 115 if(empty($price) || is_array($price)) { 116 $price = 0; 117 } 118 119 return ($this->wooCommerceProduct->get_sale_price()) ? $this->wooCommerceProduct->get_sale_price() : $price; 114 120 } 115 121 } -
wp-profitshare-advertisers/trunk/readme.txt
r2041389 r2045848 4 4 Requires at least: 3.0 5 5 Tested up to: 5.1 6 Stable tag: 1.0.2 6 Stable tag: 1.0.2.1 7 7 Contributors: Conversion.ro 8 8 License: GPLv2 … … 42 42 43 43 == Changelog == 44 = 1.0 .0=44 = 1.0 = 45 45 Stable release for advertisers. 46 46 47 47 = 1.0.1 = 48 Update:Change module name to wp-profitshare-advertisers and fix products price for stores who are using woocommerce get_price method.48 Change module name to wp-profitshare-advertisers and fix products price for stores who are using woocommerce get_price method. 49 49 50 50 = 1.0.2 = 51 Add :static currencies, for Romania the currency is RON and, for Bulgary, the currency is BGN.51 Add static currencies, for Romania the currency is RON and, for Bulgary, the currency is BGN. 52 52 53 = 1.0. 3=54 Update: logo 53 = 1.0.2.1 = 54 Fix possible bug for product type voucher in category & product page. -
wp-profitshare-advertisers/trunk/wp-profitshare-advertisers.php
r2041389 r2045848 4 4 * Plugin URI: https://www.profitshare.ro 5 5 * Description: Profitshare module for wordpress woocommerce 6 * Version: 1.0. 36 * Version: 1.0.2.1 7 7 * Author: Conversion 8 8 * Author URI: https://www.conversion.ro … … 16 16 */ 17 17 18 define('PWA_VERSION', '1.0. 3');18 define('PWA_VERSION', '1.0.2.1'); 19 19 20 20 function pwa_get_plugin() {
Note: See TracChangeset
for help on using the changeset viewer.