Changeset 3780267
- Timestamp:
- 11/02/2026 04:22:25 PM (70 minutes ago)
- Location:
- nexo-arg-for-woocommerce
- Files:
-
- 6 edited
- 1 copied
-
tags/1.8.10 (copied) (copied from nexo-arg-for-woocommerce/trunk )
-
tags/1.8.10/nexo-arg-for-woocommerce.php (modified) (2 diffs)
-
tags/1.8.10/readme.txt (modified) (2 diffs)
-
tags/1.8.10/src/Modulos/Productos/Editor.php (modified) (1 diff)
-
trunk/nexo-arg-for-woocommerce.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Modulos/Productos/Editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
nexo-arg-for-woocommerce/tags/1.8.10/nexo-arg-for-woocommerce.php
r3779745 r3780267 4 4 * Plugin URI: https://arioli.dev/productos/woonexo 5 5 * Description: All-in-one ERP for WooCommerce built for Argentina, in Spanish: products and stock in one table, orders, promotions, sales reports, a fast store, customer account and email. Free, with optional add-ons. 6 * Version: 1.8. 96 * Version: 1.8.10 7 7 * Requires at least: 6.9 8 8 * Requires PHP: 8.1 … … 29 29 } 30 30 31 define('WOONEXO_VERSION', '1.8. 9');31 define('WOONEXO_VERSION', '1.8.10'); 32 32 define('WOONEXO_FILE', __FILE__); 33 33 define('WOONEXO_DIR', plugin_dir_path(__FILE__)); -
nexo-arg-for-woocommerce/tags/1.8.10/readme.txt
r3779745 r3780267 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.1 7 Stable tag: 1.8. 97 Stable tag: 1.8.10 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 123 123 == Changelog == 124 124 125 = 1.8.10 = 126 * Products: a product that was already saved (for example as simple or as a draft) and is then turned into a product with variations is now saved as a variable product. Before, its variations were saved but the product stayed simple, because WooCommerce kept the old product type in its cache. 127 125 128 = 1.8.9 = 126 129 * Add-ons: new «Live statistics» add-on (in the separate Addons plugin): who is in the store right now, what they are looking at, where they came from and how far they got in the purchase, plus the daily, weekly and monthly summary. The free plugin only lists it and shows its setup guide. -
nexo-arg-for-woocommerce/tags/1.8.10/src/Modulos/Productos/Editor.php
r3779694 r3780267 201 201 wp_set_object_terms($id, $conVariaciones ? 'variable' : 'simple', 'product_type'); 202 202 wc_delete_product_transients($id); 203 wp_cache_delete('woocommerce_product_' . $id . '_type', 'products'); 204 $producto = wc_get_product($id); 203 // WooCommerce guarda el tipo en memoria (el wc_get_product de arriba ya lo cargó como el anterior). Se 204 // invalida con su clave real y se instancia la clase del tipo nuevo: si no, un simple pasado a variable 205 // se volvía a grabar como simple (con las variaciones guardadas pero sin mostrarse). 206 \WC_Cache_Helper::invalidate_cache_group('product_' . $id); 207 $producto = $conVariaciones ? new \WC_Product_Variable($id) : new \WC_Product_Simple($id); 205 208 } else { 206 209 $producto = $conVariaciones ? new \WC_Product_Variable() : new \WC_Product_Simple(); -
nexo-arg-for-woocommerce/trunk/nexo-arg-for-woocommerce.php
r3779745 r3780267 4 4 * Plugin URI: https://arioli.dev/productos/woonexo 5 5 * Description: All-in-one ERP for WooCommerce built for Argentina, in Spanish: products and stock in one table, orders, promotions, sales reports, a fast store, customer account and email. Free, with optional add-ons. 6 * Version: 1.8. 96 * Version: 1.8.10 7 7 * Requires at least: 6.9 8 8 * Requires PHP: 8.1 … … 29 29 } 30 30 31 define('WOONEXO_VERSION', '1.8. 9');31 define('WOONEXO_VERSION', '1.8.10'); 32 32 define('WOONEXO_FILE', __FILE__); 33 33 define('WOONEXO_DIR', plugin_dir_path(__FILE__)); -
nexo-arg-for-woocommerce/trunk/readme.txt
r3779745 r3780267 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.1 7 Stable tag: 1.8. 97 Stable tag: 1.8.10 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 123 123 == Changelog == 124 124 125 = 1.8.10 = 126 * Products: a product that was already saved (for example as simple or as a draft) and is then turned into a product with variations is now saved as a variable product. Before, its variations were saved but the product stayed simple, because WooCommerce kept the old product type in its cache. 127 125 128 = 1.8.9 = 126 129 * Add-ons: new «Live statistics» add-on (in the separate Addons plugin): who is in the store right now, what they are looking at, where they came from and how far they got in the purchase, plus the daily, weekly and monthly summary. The free plugin only lists it and shows its setup guide. -
nexo-arg-for-woocommerce/trunk/src/Modulos/Productos/Editor.php
r3779694 r3780267 201 201 wp_set_object_terms($id, $conVariaciones ? 'variable' : 'simple', 'product_type'); 202 202 wc_delete_product_transients($id); 203 wp_cache_delete('woocommerce_product_' . $id . '_type', 'products'); 204 $producto = wc_get_product($id); 203 // WooCommerce guarda el tipo en memoria (el wc_get_product de arriba ya lo cargó como el anterior). Se 204 // invalida con su clave real y se instancia la clase del tipo nuevo: si no, un simple pasado a variable 205 // se volvía a grabar como simple (con las variaciones guardadas pero sin mostrarse). 206 \WC_Cache_Helper::invalidate_cache_group('product_' . $id); 207 $producto = $conVariaciones ? new \WC_Product_Variable($id) : new \WC_Product_Simple($id); 205 208 } else { 206 209 $producto = $conVariaciones ? new \WC_Product_Variable() : new \WC_Product_Simple();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)