Plugin Directory

Changeset 3780267


Ignore:
Timestamp:
11/02/2026 04:22:25 PM (70 minutes ago)
Author:
franciscojosearioli
Message:

Nexo ARG for WooCommerce 1.8.10

Location:
nexo-arg-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • nexo-arg-for-woocommerce/tags/1.8.10/nexo-arg-for-woocommerce.php

    r3779745 r3780267  
    44 * Plugin URI:        https://arioli.dev/productos/woonexo
    55 * 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.9
     6 * Version:           1.8.10
    77 * Requires at least: 6.9
    88 * Requires PHP:      8.1
    … …  
    2929}
    3030
    31 define('WOONEXO_VERSION', '1.8.9');
     31define('WOONEXO_VERSION', '1.8.10');
    3232define('WOONEXO_FILE', __FILE__);
    3333define('WOONEXO_DIR', plugin_dir_path(__FILE__));
  • nexo-arg-for-woocommerce/tags/1.8.10/readme.txt

    r3779745 r3780267  
    55Tested up to: 7.1
    66Requires PHP: 8.1
    7 Stable tag: 1.8.9
     7Stable tag: 1.8.10
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    123123== Changelog ==
    124124
     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
    125128= 1.8.9 =
    126129* 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  
    201201            wp_set_object_terms($id, $conVariaciones ? 'variable' : 'simple', 'product_type');
    202202            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);
    205208        } else {
    206209            $producto = $conVariaciones ? new \WC_Product_Variable() : new \WC_Product_Simple();
  • nexo-arg-for-woocommerce/trunk/nexo-arg-for-woocommerce.php

    r3779745 r3780267  
    44 * Plugin URI:        https://arioli.dev/productos/woonexo
    55 * 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.9
     6 * Version:           1.8.10
    77 * Requires at least: 6.9
    88 * Requires PHP:      8.1
    … …  
    2929}
    3030
    31 define('WOONEXO_VERSION', '1.8.9');
     31define('WOONEXO_VERSION', '1.8.10');
    3232define('WOONEXO_FILE', __FILE__);
    3333define('WOONEXO_DIR', plugin_dir_path(__FILE__));
  • nexo-arg-for-woocommerce/trunk/readme.txt

    r3779745 r3780267  
    55Tested up to: 7.1
    66Requires PHP: 8.1
    7 Stable tag: 1.8.9
     7Stable tag: 1.8.10
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    123123== Changelog ==
    124124
     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
    125128= 1.8.9 =
    126129* 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  
    201201            wp_set_object_terms($id, $conVariaciones ? 'variable' : 'simple', 'product_type');
    202202            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);
    205208        } else {
    206209            $producto = $conVariaciones ? new \WC_Product_Variable() : new \WC_Product_Simple();
Note: See TracChangeset for help on using the changeset viewer.