Changeset 3035897
- Timestamp:
- 02/14/2024 09:21:20 PM (2 years ago)
- Location:
- midwest-logistics/trunk
- Files:
-
- 3 edited
-
classes/class-ml-stock.php (modified) (4 diffs)
-
midwest-wholesale.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
midwest-logistics/trunk/classes/class-ml-stock.php
r3008368 r3035897 17 17 //Basically if no items are found then the option is incremented and then used to find products that have changed. 18 18 //The reset function allows us increment the option. 19 $stock_counter = get_option($this->metaStockCounterOption,1); 19 //delete_option( $this->metaStockCounterOption ); 20 $stock_counter = get_option($this->metaStockCounterOption,false); 21 if($stock_counter == false) { 22 $stock_counter = 1; 23 } 20 24 $pull_stock_setting = true; 25 21 26 22 27 if($settingOptions !== "") { … … 89 94 $this->metaStockCheck => 'Y' 90 95 ); 91 92 96 93 97 $products = wc_get_products($args); … … 135 139 } 136 140 } 137 } 141 } 138 142 139 143 return $skuArray; … … 202 206 } 203 207 if($debugout == true) { 208 $stock_counter = get_option($this->metaStockCounterOption,1); 204 209 echo "Products being ran: <br>"; 205 210 var_dump($skusResults); 211 echo "<br><br><br>"; 212 echo "Stock Counter Number: " . $stock_counter . " <br>"; 206 213 echo "<br><br><br>"; 207 214 } -
midwest-logistics/trunk/midwest-wholesale.php
r3025264 r3035897 4 4 * Plugin URI: https://plugins.skynet-solutions.net/ 5 5 * Description: Midwest Wholesale Plugin allows you to automatically add Woocommerce orders into the Midwest Logistics order system. 6 * Version: 1.1.2 36 * Version: 1.1.24 7 7 * WC requires at least: 6.0.0 8 8 * WC tested up to: 8.2.0 -
midwest-logistics/trunk/readme.txt
r3025264 r3035897 5 5 Tested up to: 6.4.1 6 6 Requires PHP: 7.0 7 Stable tag: 1.1.2 37 Stable tag: 1.1.24 8 8 License: GPLv3 9 9
Note: See TracChangeset
for help on using the changeset viewer.