nick1122
Forum Replies Created
-
Hi @mominokiyarn
We are looking into this and will get back to you soon with a solution.
You can send an email directly to tychesoftwares dot freshdesk dot com.Hi @elsappy
We were unable to replicate this issue with our print invoice plugin. You can attempt to resolve the issue by deactivating and then reactivating the Print Invoice plugin.
Please let me know if this solution works for you.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] problem with the new updateHi @antonic93
Could you please provide us with the name or details of the addon plugin you are using for creating boxes?Hi @gabor81
Yes, you can change the “shipping address” text to “Pickup Informations” based on the local pickup shipping method selected.
Please replace the below file with the given path.
File: https://www.dropbox.com/scl/fi/16xgjbra1e5ih17xi2q2k/print-content.php?rlkey=zhk8zlmed096l1z1sle90ou4m&dl=0
Path: woocommerce-delivery-notes\templates\print-order.
Also, please add the below code to your active theme’s functions.php file or use a plugin like Code Snippets:function shipping_title_filter_function( $title_content, $order ) { foreach( $order->get_shipping_methods() as $item_id => $item ) { $shipping_method_id = $item->get_method_id(); if ( 'local_pickup' === $shipping_method_id ) { echo esc_attr_e( 'Pickup Informations', 'woocommerce-delivery-notes' ); } else { echo esc_attr_e( 'Shipping Address', 'woocommerce-delivery-notes' ); } } } add_filter( 'wcdn_address_shipping_title', 'shipping_title_filter_function', 10, 2 );Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] HPOS Compatibility?Hi @razorrank,
We have released a new version with HPOS compatibility in our plugin.
Our plugin now has HPOS compatibility with the release of a new version.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] HPOS CompatibilityHi @arslanramay,
We have released a new version with HPOS compatibility in our plugin.
Our plugin now has HPOS compatibility with the release of a new version.Hi @gabor81
glad to have been help you. Thank you for appreciating.
I would be pleased if you would be willing to spend a bit of your precious time to write a review for us on our plugin’s https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/#new-post review page.
That would help immensely.
Regards, Nikhil.Hi Gabor,
Yes, you can show your custom text on print invoice, instead shipping address.
Please add the below code to your active theme’s functions.php file or use a plugin like Code Snippets:function custom_modify_shipping_address( $formatted_shipping_address, $order ) { $chosen_shipping_methods = $order->get_shipping_methods(); foreach ( $chosen_shipping_methods as $chosen_shipping_method ) { if ( strpos( $chosen_shipping_method, 'local_pickup' ) !== false ) { return 'Add your custom note'; // add your custome note here. } } return $formatted_shipping_address; } add_filter( 'wcdn_address_shipping', 'custom_modify_shipping_address', 10, 2 );Please let us know if you need any other help.
Regards, Nikhil.hi @telecristofoli ,
Could you please create the ticket here on our support tool so that we can communicate in detail?
Regards, Nikhil.hi, @telecristofoli
First of all, I apologize for the delay in getting back to you on this.
Here’s a filter that can hide the invoice title in the invoice print. Add this code snippet in functions.php file of your currently active theme./** * Add this code snippet in functions.php file of your currently active theme. * Hide invoice title in invoice print. */ function hide_print_invoice_title( $title ) { if ( strtolower( $title ) === 'invoice' ) { return ''; } return $title; } add_filter( 'wcdn_document_title', 'hide_print_invoice_title' );Please let us know if you need any other help.
Regards, Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Variation ThumbnailHi @esspeedee
glad to have been help you. Thank you for appreciating.
I would be pleased if you would be willing to spend a bit of your precious time to write a review for us on our plugin’s https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/#new-post review page.
That would help immensely.
Regards, Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Variation ThumbnailHii, @esspeedee
It’s good to know you loved our plugin.
I am sharing the modified code snippet for displaying the variation thumbnail.function add_thumbnail_in_invoice( $product ) { if ( '' !== $product->get_id() ) { $product_id = $product->get_id(); if ( has_post_thumbnail( $product_id ) ) { echo get_the_post_thumbnail( $product_id, array( 40, 40 ), array( 'loading' => false ) ); } } } add_action( 'wcdn_order_item_before', 'add_thumbnail_in_invoice', 10, 2 );Please let us know if you need any other help.
Regards, Nikhil.Hii, @jackyliao
Yes, it is possible to Display the phone number below the billing address. Please add the below code to your active theme’s functions.php file or use a plugin like Code Snippets:/** * Add this code snippet in the functions.php file of your currently active theme. * show the billing phone number below the billing address. */ function wcdn_billing_address( $billing_address, $order ) { $add_phone_number_in_billing = $order->get_billing_phone(); $billing_address = $billing_address . '<br>' . $add_phone_number_in_billing; return $billing_address; } add_filter( 'wcdn_address_billing', 'wcdn_billing_address', 10, 2 );If you want to remove the phone number added in the order details, Please add the below code to your active theme’s functions.php file or use a plugin like Code Snippets:
/** * Add this code snippet in the functions.php file of your currently active theme. * Removing the billing phone number in order detail. */ function removed_billing_phone( $fields ) { if ( isset( $fields['billing_phone'] ) ) { unset( $fields['billing_phone'] ); } return $fields; } add_filter( 'wcdn_order_info_fields', 'removed_billing_phone' );Please let us know if you need any other help.
Regards, Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] PHP 8 CompatibilityHii, @codegeek
Thank you for sharing the error message. I am able to find the cause of this issue, but to be sure on that kindly share the full error message so that I can look at it and confirm if it’s the same case or not.Below, I am sharing the link to the patched file. Kindly download it and replace it with the same file on your site located at the below location, and see if that resolves the issue or not. Please let us know the result.
Path – \app\public\wp-content\plugins\woocommerce-delivery-notes\includes\class-wcdn-settings.php
Link – https://www.dropbox.com/scl/fi/qbx14ukjrzo2dx2mrsimi/class-wcdn-settings.php?rlkey=tptq1elrn4cxhi21za3kbwsup&dl=0If this doesn’t resolve the error, then once we get the full error message from you then we will be able to identify the cause of the issue you are facing on your site.
Hi @tejashapani-1 ,
Thank you for sharing the error details. The error is occurring because you are using the Reepay option on your site. https://prnt.sc/RpKrtxzhH_8p
In order to identify the cause of the problem, we kindly request your assistance in performing a troubleshooting step.
To determine if the issue persists due to conflicts with plugins or your current theme, we recommend temporarily deactivating all plugins and switching to the default theme. This will help us isolate the root cause of the problem and provide a targeted solution.
Please let me know the result of the above troubleshoot.
Regards, Nikhil.