kenil802
Forum Replies Created
-
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Change date formatHi @max1114,
In order to add the order completion date, can you please try the below code in print-content.php file which is located at \woocommerce-delivery-notes\templates\print-order\print-content.php and check whether it is working fine or not.
Code:
echo date( ‘j-n-Y’, strtotime($order->get_date_completed()));Please let us know how it goes.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] do not print additionalHi @bruno-poock,
Okay, we will check with that plugin and get back to you with an update.
Regards,
Kenil ShahHi @futureskills,
The support ticket has already been there for your query on our ticketing system. So, I will get back to you on that support ticket.
Regards,
Kenil ShahHi @davehouse,
Glad that you found the fix for the issue.
And thank you for letting us know about what exactly the issue was.
Regards,
Kenil ShahHi @bruno-poock,
I see that you have already asked the query in another forum. So, it would be great if we can continue our conversation there.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] do not print additionalHi @bruno-poock,
Regarding the query, could you please inform us which plugin are you using for getting the additional products?
Please do let us know so that we can check with that plugin.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Bulk print orders missingHi @mikefishtank,
Regarding the issue where Bulk Printing options were not coming in the dropdown can you just replace the file class-wcdn-writepanel.php with the file in the dropbox. We have tested this fix on our end which has been working fine for us so could you please check whether its working fine or not for you.
FilePath:-“wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-writepanel.php”
Dropbox link:- https://www.dropbox.com/s/xtgxqb8xz0z50vy/class-wcdn-writepanel.php?dl=0
Please let us know how it goes.Regards,
Kenil ShahHi @windsorraw,
Regarding the query, could you please inform us whether the variations which you are using is of the default WooCommerce or not? If not, then please do let us know whether you are using any plugin for that?
Regards,
Kenil ShahHi @sneakerweb,
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 );Please do let us know how it goes.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] showing regular priceHi @mahdyhigh,
Extremely sorry for the delay.
Could you please email us your query on “support at tychesoftwares dot freshdesk dot com” so that we can get back to you on that.
Regards,
Kenil Shah- This reply was modified 5 years, 7 months ago by kenil802.
Hi @nikxs,
Currently there is no such function get_formatted_line_subtotal_tax present in the WooCommerce. So to get your requirements done you can try using a function like get_tax_totals and get_total_tax.
Please let us know if you have any other queries.
Regards,
Kenil ShahHi @anglp,
Regarding the query, I am afraid that currently, it is not possible from our plugin to add the input values in an additional column in the cart page.
Please let us know if you have any further queries.
Regards,
Kenil ShahHi @bcolflesh,
Sorry for the delay in response.
We will release an update of the plugin which will include this fix.
Regards,
Kenil ShahHi @cris123pp,
Sorry for the delay in response.
The code which you have shared will work only if the custom fields which you are adding are the meta field. So can you check if the field which you are adding is a meta field and if they are meta fields kindly check that the meta key which is used in the code is correct or not?
Please do let us know.
Regards,
Kenil ShahForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Custom field not showingHi @felipexa,
Sorry for the delay in response.
The code you shared with us is correct so can you just check that the meta key you are using to get the values of that field is correct or not.
Please do let us know.
Regards,
Kenil Shah