Upendra Kapse
Forum Replies Created
-
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Printer ModelHello,
I am afraid we don’t have a proper template right now that will print the Invoice on an 800mm thermal printer with a proper layout, the print should work but the content in the print could be a bit jumbled up.
Kind Regards,
Upendra.Hello,
Yes, you can print the invoices of the orders from the WooCommerce>> Orders section in the backend using our plugin.
And yes, we do have a filter that will add the feature image of the purchased product in the Invoice too. Here’s the code snippet that you can add to the functions.php file of your child theme to display the feature image in the Invoice:
function example_product_image( $product ) { if( isset( $product->id ) && has_post_thumbnail( $product->id ) ) { echo get_the_post_thumbnail( $product->id, array( 40, 40 ), array( 'loading' => false ) ); } } add_action( 'wcdn_order_item_before', 'example_product_image' );I hope this helps.
Kind Regards,
Upendra.Hello,
To add an extra field, I recommend you first refer to this example code snippet that will help you add this extra field:
/** * Add this code snippet in functions.php file of your currently active theme. * An example that adds a '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' => '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 );The field is fetched using the meta key of the field and you need to replace the highlighted example meta field name with the meta key of the field you want to add.
I hope this helps.
Kind Regards,
Upendra.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Printing Invoice numberHello,
If you have enabled the Invoice-> Numbering option under WooCommerce>> Settings>> Print section the Invoice number will be printed in the Invoice automatically as you can see in this screenshot: https://prnt.sc/1b4bujl
Let me know if I am missing something here.
Kind Regards,
Upendra.Hello,
Please try using this code snippet instead to display the order status in the Invoice:
function example_custom_order_fields( $fields, $order ) { $new_fields = array(); if( $order->get_status() ) { $new_fields['Status'] = array( 'label' => 'Order Status', 'value' => $order->get_status(), ); } return array_merge( $fields, $new_fields ); } add_filter( 'wcdn_order_info_fields', 'example_custom_order_fields', 10, 2 );Kind Regards,
UpendraHi Jean,
Yes, right now we have the same template for both invoice and the delivery note.
But if you want to customize the look of either Invoice or delivery note they both have a unique class i.e. .invoice and .delivery-note that you can use and customize the look of both invoice and delivery note using CSS.
Kind Regards,
Upendra.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Remove email from invoiceHello,
To remove the email address field from the Invoice please use this code snippet:
/** * Add this code snippet in functions.php file of your currently active theme. * An example that removes the 'Email' field. */ function example_removed_customer_email( $fields ) { unset( $fields['billing_email'] ); return $fields; } add_filter( 'wcdn_order_info_fields', 'example_removed_customer_email' );Kind Regards,
UpendraForum: Plugins
In reply to: [Currency per Product for WooCommerce] Show me regular price if is on saleHello,
That is strange, I just tried setting a sale price along with the regular price on my test site and it worked fine as you can see in this screenshot: https://prnt.sc/1az0ujs
My default currency is USD but for this product, I have set the currency to Euro using the Currency per Product plugin.
Can you please confirm the sale price is not appearing on your site because of our plugin? Did you try temporarily deactivating our plugin? Does the sale price appear when you do that?
If it is happening due to our plugin can I please request you to share screenshots of your settings so that we can try to replicate the issue by doing similar settings on our end?
Kind Regards,
Upendra.Forum: Plugins
In reply to: [Currency per Product for WooCommerce] Compatibility IssueHello,
I am afraid we have not tested our Currency per Product for WooCommerce for compatibility with the ATUM multi-inventory management plugin that you mentioned. But I will escalate this compatibility issue to our dev team as an enhancement that we can consider implementing in the future.
Kind Regards,
Upendra.Forum: Plugins
In reply to: [Currency per Product for WooCommerce] Rounding upHello,
I am afraid there is no direct option to round off the converted price in the free version of the plugin. However, we do have this option in the pro version of the plugin.
Kind Regards,
UpendraHello @devowp1982,
First of all, apologies for the delay on this.
No, I am afraid the exchange rates will not be converted automatically. Can you please try setting the exchange rate from Ruble to USD and then see how it works?
Kind Regards,
UpendraForum: Plugins
In reply to: [Product Input Fields for WooCommerce] Number field on mobileHi @webreneszansz,
Apologies for the delay in getting back to you on this.
And thank you for pointing this issue out, I am able to replicate it on our end too and I am escalating it to our development team. We will fix this in a future update of the plugin.
Kind Regards,
Upendra.Forum: Plugins
In reply to: [Product Input Fields for WooCommerce] style problem (design)Hi @oufleure,
Apologies for the delay on this.
Can you please share the product page URL where you are facing this styling issue? It could be just a CSS conflict that we can easily fix by adding custom CSS.
Kind Regards,
Upendra.Hi @giuseppecaleca,
Yes, please be rest assured that the plugin will work just fine with the latest version of WooCommerce. Once we update the tested up to version for WooCommerce in our next plugin update this notice will not appear too.
Kind Regards,
Upendra.Hi @yfain,
First of all, apologies for the delay in getting back to you on this.
When you get a white page, can you please check what exact Fatal error you are getting? You can enable debugging on your site to check what exact error is appearing.
Please share the error with us as it will help us to identify what could be causing this issue.
Kind Regards,
Upendra.