kenil802
Forum Replies Created
-
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] GDPRHi @pickme,
I will ask the developer regarding your query and get back to you with an update.
Regards,
Kenil ShahHi @umek,
To add the custom fields, could you please try adding the below code and check whether it works or not.
Code:
/**
* Add this code snippet in functions.php file of your currently active theme.
* An example that adds a ‘VAT’ and ‘Customer Number’ field to the end of the list.
*/
function example_custom_order_fields( $fields, $order ) {
$new_fields = array();if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
$new_fields[‘your_meta_field_name’] = array(
‘label’ => ‘VAT’,
‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
);
}if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
$new_fields[‘your_meta_field_name’] = array(
‘label’ => ‘Customer Number’,
‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
);
}return array_merge( $fields, $new_fields );
}
add_filter( ‘wcdn_order_info_fields’, ‘example_custom_order_fields’, 10, 2 );Also, please make sure that the field itself should be meta-field.
Please let us know how it goes.
Regards,
Kenil ShahDo you mean that after placing a new order, the old order statuses are getting changed from processing to new custom status? Could you please share the screenshot of the plugin settings and the issue which you are facing so that we can check once and try to replicate the issue with the same plugin settings.
Also, it would be great if you can share the steps to replicate the issue.
Do share the same so that we can assist you in a better way. And let us know if we have misunderstood your query.
Regards,
Kenil ShahHi @thermalstudios,
Glad that the issue has been solved on your site.
Do let us know if you need any further help from us.
Regards,
Kenil ShahHi @zorem,
As per the conversation, we have sent the necessary details through the contact form which you have shared. So, you can check once and let us know.
Regards,
Kenil ShahHi @thermalstudios,
Could you please share the screenshot of the issue which you are facing like where exactly the “Print Now” link is there.
Please do share the same so that we can assist you in a better way.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Custom Field – not appearingHi @mossifer,
I see that you have created an offline chat for which we had replied to you on the ticket. So, it would be great if we can continue our conversation on the ticket itself.
Regards,
Kenil ShahHi @mlvitor,
I will pass your query to the developer and get back to you once I hear from them.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Show shipping methodHi @bacp,
Glad that the code worked for you. ๐
Do let us know if you have any further queries.
Regards,
Kenil ShahHi @pbiron,
Thank you for sharing the code.
I will need to ask your query to the developer so, I will get back to you once I hear from them.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Show shipping methodHi @bacp,
Thank you for appreciating our plugin.
To add the shipping method, could you please try adding the below code and see whether it works or not.
Code:
/**
* Add this code snippet in functions.php file of your currently active theme.
* An example that adds a ‘VAT’ and ‘Customer Number’ field to the end of the list.
*/
function example_custom_order_fields( $fields, $order ) {
$new_fields = array();if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
$new_fields[‘your_meta_field_name’] = array(
‘label’ => ‘VAT’,
‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
);
}if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
$new_fields[‘your_meta_field_name’] = array(
‘label’ => ‘Customer Number’,
‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
);
}return array_merge( $fields, $new_fields );
}
add_filter( ‘wcdn_order_info_fields’, ‘example_custom_order_fields’, 10, 2 );Also, please make sure that the field itself should be meta-field.
Please let us know how it goes.
Regards,
Kenil ShahHi @scruffy1,
Thank you for appreciating our plugin.
I have tried to replicate your issue on our staging site but I am not able to replicate it. To me, when I tried to see the print invoice on another browser, no change is there in the CSS.
So, could you please share the screenshot of the issue which you are facing so that we can check and let you know.
Regards,
Kenil ShahHi @vectorhold,
Sorry for the delay in response.
I will ask the developer regarding your query whether there is any filter or not and get back to you with an update.
Regards,
Kenil ShahHi @thetrew,
Sorry for the delay in response.
I will ask the developer regarding your query and get back to you with an update.
Regards,
Kenil ShahHi @coffeeuk,
I have replicated this issue on our staging site where the print dialog box appears after we change the statuses in bulk.
However, I will add this issue to our Github repository and soon we will work on this and get back to you with an update.
Regards,
Kenil Shah