Skip to content

Commit

Permalink
Added apply_filters wc_siigo_integration_description_item
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul Morales committed Sep 7, 2024
1 parent a5998f9 commit 38bfb29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/class-integration-siigo-wc.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public static function generate_invoice($order_id, $previous_status, $next_statu
$tax_total = $item_taxes['total'][$tax_rate_id];
$items[] = [
"code" => $product->get_sku(),
"description" => $product->get_name(),
"description" => apply_filters('wc_siigo_integration_description_item', $product->get_name()),
"quantity" => $item->get_quantity(),
"discount" => wc_format_decimal($item->get_subtotal() - $item->get_total(), 0),
"price" => wc_format_decimal($item->get_total() / $item->get_quantity(), 0)
Expand Down
4 changes: 2 additions & 2 deletions integration-siigo-woo.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Integration Siigo Woocommerce
* Description: Integración del sistama contable y de facturación Siigo para Woocoommerce
* Version: 0.0.10
* Version: 0.0.11
* Author: Saul Morales Pacheco
* Author URI: https://saulmoralespa.com
* License: GNU General Public License v3.0
Expand All @@ -17,7 +17,7 @@
}

if(!defined('INTEGRATION_SIIGO_WC_SMP_VERSION')){
define('INTEGRATION_SIIGO_WC_SMP_VERSION', '0.0.10');
define('INTEGRATION_SIIGO_WC_SMP_VERSION', '0.0.11');
}

add_action( 'plugins_loaded', 'integration_siigo_wc_smp_init');
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: commerce, e-commerce, commerce, WordPress ecommerce, store, sales, sell, s
Requires at least: 6.0
Tested up to: 6.6.1
Requires PHP: 8.1
Stable tag: 0.0.10
Stable tag: 0.0.11
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down

0 comments on commit 38bfb29

Please sign in to comment.