Order Number Help
-
Hi @skyverge,
Hope you are doing very well.First of all thank you so much for the plugin.
I have an invoice plugin.
In this plugin there is a section which says the order details :protected function get_invoice_info( $order_id ) { $invoice_prefix = get_option( 'wc_wip_settings_invoice_prefix' ) ? get_option( 'wc_wip_settings_invoice_prefix' ) . '-' : ''; $invoice_suffix = get_option( 'wc_wip_settings_invoice_suffix' ) ? '-' . get_option( 'wc_wip_settings_invoice_suffix' ) : ''; $invoice_start = get_option( 'wc_wip_settings_invoice_start' ) ? get_option( 'wc_wip_settings_invoice_start' ) : 0; $invoice_number = $invoice_prefix . ( $invoice_start + $order_id ) . $invoice_suffix; $invoice_date = date_i18n( 'Y/m/d H:i', time() );
I couldn’t override the order number via your help in the description.
Could you please help me to change the order number in the codes of the invoice plugin?Regards,
Rahim
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Order Number Help’ is closed to new replies.