开发者 |
wpcodefactory
kerbhavik karzin jaedm97 algoritmika anbinder omardabbas kousikmukherjeeli |
---|---|
更新时间 | 2023年9月12日 00:18 |
PHP版本: | 4.4 及以上 |
WordPress版本: | 6.3 |
版权: | GNU General Public License v3.0 |
版权网址: | 版权信息 |
/wp-content/plugins/
directory.If even after clicking "Update" on the product edit page the cost field is not saving, please try to change this option: - Cost field position
Probably the easiest way of doing it would be through the default WooCommerce export, over: - Products > All products > Export
First, you have to enable two options:
Alg_WC_Cost_of_Goods_Orders::$order_columns
.class-alg-wc-cog-products.php:456
- Call to a member function is_type() on bool.class-alg-wc-cog-products.php
.alg_wc_cog_extra_profit_meta_keys
.manage_options
to manage_woocommerce
.alg_wc_cog_order_cost
, alg_wc_cog_order_profit
, alg_wc_cog_order_metabox_cost_value_html
.alg_wc_cog_update_order_values
, alg_wc_cog_currencies_costs_total
, alg_wc_cog_currencies_costs_percentage_total
.alg_wc_cog_cost_meta_keys
, alg_wc_cog_update_order_item_values
, alg_wc_cog_food_options_fixed_costs_total
.alg_wc_cog_update_order_values_action
.wp_wc_order_product_lookup.product_net_revenue
.woocommerce_new_order
hook to the calculation work with Avatax + Subscription.woocommerce_new_order_item
and save_post_shop_order
.alg_wc_cog_copy_product_meta_args
filter.alg_wc_cog_can_copy_cost
filter.copy_product_meta()
function.package-lock.json
._alg_wc_cog_cost
meta between different languages while using Polylang/WPML.Alg_WC_Cost_of_Goods_Orders::woocommerce_email_order_meta()
when used with the "Woo Custom Emails" plugin.Alg_WC_Cost_of_Goods_Orders::woocommerce_email_order_meta()
when used with the "Woo Custom Emails" plugin.update_post_meta()
to wc_update_product_stock()
.%profit%
.Alg_WC_Cost_of_Goods_Orders::update_order_items_costs()
function args._wc_cog_cost meta
.Alg_WC_Cost_of_Goods_Orders:888
.\WC_Order
type on Alg_WC_Cost_of_Goods_Orders::update_order_items_costs()
.is_plugin_active()
function.alg_wc_cog_before_update_order_items_costs
hook.alg_wc_cog_stock_report_args
filter.OrderRefund::get_total_refunded()
.table_attributes
param for $args
param from alg_wc_cog_get_table_html()
function.alg_wc_cog_create_import_tool_validation
filter.alg_wc_cog_create_edit_costs_tool_validation
filter.alg_wc_cog_create_report_validation
filter.alg_wc_cog_create_analytics_orders_validation
filter.alg_wc_cog_create_orders_columns_validation
filter.alg_wc_cog_create_order_meta_box_validation
filter.alg_wc_cog_create_product_columns_validation
filter.alg_wc_cog_create_product_meta_box_validation
filter.alg_wc_cog_create_wc_settings_tab_validation
filter.load_plugin_textdomain
function to init
call.manage_edit-product_columns
filter allowing third party solutions to change columns positions.manage_edit-shop_order_columns
filter allowing third party solutions to change columns positions.woocommerce_reports_order_statuses
filter.alg_wc_cog_bkg_process_email_params
filter.update_order_items_costs()
- alg_wc_cog_order_item_cost
- Order variable added to the filter's params.update_order_items_costs()
- alg_wc_cog_order_shipping_cost_fixed
, alg_wc_cog_order_shipping_cost_percent
, alg_wc_cog_order_gateway_cost_fixed
, alg_wc_cog_order_gateway_cost_percent
, alg_wc_cog_order_extra_cost_fixed
, alg_wc_cog_order_extra_cost_percent
, alg_wc_cog_order_total_for_pecentage_fees
, alg_wc_cog_order_line_total
, alg_wc_cog_order_extra_cost_from_meta
, alg_wc_cog_order_shipping_total
, alg_wc_cog_order_total_fees
filters added.wc_get_products()
function etc.).get_option( 'woocommerce_currency' )
vs get_woocommerce_currency()
.get_product_profit_html()
function added (for backward compatibility, e.g. for wc-frontend-manager-ultimate
plugin).tr_TR
) translation added.alg_wc_cog_get_product_cost
filter added.update_order_items_costs()
- Additional safe checks added.yes
).alg_wc_cog_order_item_cost
filter added.get_shipping_methods()
method to exist before applying the fees.set_import_mapping_option_default()
.wc_admin_is_registered_page()
function exists before enqueueing the script.1
now (NUMERIC
replaced with DECIMAL
in meta_query
).get_the_ID()
).check_ajax_referer()
bug fixed.no
).yes
).add_cost_input_shop_order()
- Getting order on AJAX correctly now._alg_cost
to _alg_wc_cog_cost
.