anjitha21
Forum Replies Created
-
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Added delivery note fieldsHi @antonic93 ,
To remove these, you can use a filter that allows hiding specific meta data from the delivery note.
Please add the following code to your site (in your theme’s
functions.phpfile or via a custom plugin):add_filter( 'wcdn_product_meta_data', 'remove_unwanted_meta_from_invoice', 10, 2 );
function remove_unwanted_meta_from_invoice( $meta, $item ) {
if ( empty( $meta ) || ! is_array( $meta ) ) {
return $meta;
}
foreach ( $meta as $key => $meta_item ) {
$meta_key = isset( $meta_item['key'] ) ? $meta_item['key'] : '';
if (
$meta_key === 'wcb2bsa_item_commission' ||
$meta_key === 'wcb2bsa_item_commission_amount_'
) {
unset( $meta[$key] );
}
}
return $meta;
}This will remove those unwanted meta fields from the delivery note.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Dates of InvoicesHi @marketemprende ,
Yes, it is possible to display both Order Date and Invoice Date on the invoice.
We can achieve this by using a customization that adds these fields to the Order Info section of the invoice.
Below is a sample code snippet that can be added to your theme’s
functions.phpfile or via a custom plugin:add_filter( 'wcdn_order_info_fields', 'add_order_invoice_dates', 10, 2 );
function add_order_invoice_dates( $fields, $order ) {
$new_fields = array();
// Order Date
$new_fields['order_date_custom'] = array(
'label' => 'Order Date',
'value' => wc_format_datetime( $order->get_date_created() )
);
// Invoice Date
$invoice_date = get_post_meta( $order->get_id(), '_invoice_date', true );
// Fallback if no invoice date is stored
if ( empty( $invoice_date ) ) {
$invoice_date = $order->get_date_modified();
}
if ( $invoice_date ) {
$new_fields['invoice_date_custom'] = array(
'label' => 'Invoice Date',
'value' => is_object( $invoice_date )
? wc_format_datetime( $invoice_date )
: $invoice_date
);
}
return array_merge( $fields, $new_fields );
}Please let us know if you have any questions further.
Forum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] abandoned carts by visitorsHi @gnfb ,
Thank you for reaching out!
I understand your concern—seeing a high number like 9,786 abandoned carts can definitely seem alarming, especially for a new site.
A big reason for such a high number is bots and crawlers, not real customers. These bots can automatically follow your “add to cart” links and create carts in seconds, which gets recorded as abandoned carts.
You can block bots from accessing add-to-cart links via your robots.txt file.
You can check our documentation related to this: https://www.tychesoftwares.com/docs/woocommerce-abandoned-cart-lite/track-only-genuine-visitor-carts/
Prevent crawling of key pages like:
/cart//checkout//my-account/
Once you filter these out, your abandoned cart data will become much more accurate and useful.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Receipt and termal printerHi @zorangelev,
Thank you for your message!
Yes, it is definitely possible to optimize the template for printing on an 80mm thermal printer.
You can use the
wcdn_headhook to apply custom print styles. Please try adding the following code to your site:add_action( 'wcdn_head', 'print_paper_resize', 10 );
function print_paper_resize() {
?>
<style>
@media print {
@page {
size: 80mm auto;
margin: 0;
}
html, body {
width: 100%;
max-width: 80mm;
margin: 0 auto !important;
font-size: 8.5pt;
font-weight: 550;
}
table, tr, td {
page-break-inside: avoid;
}
.shipping-address { width: 80% !important; }
.billing-address { width: 70% !important; margin-bottom: 1em !important; }
h2, h3 { margin-bottom: 0 !important; }
th { padding-bottom: 0 !important; padding-left: 0.5em !important; }
td { padding: 0.35em 0.35em 0 !important; }
.order-addresses { margin-bottom: 1em !important; }
.order-info li strong {
font-weight: 600 !important;
display: inline !important;
padding-right: 1.4em !important;
}
.order-info,
.order-branding {
margin-bottom: 0 !important;
}
.product-quantity,
.total-quantity {
padding-left: 1.8em !important;
}
.includes_tax {
white-space: nowrap !important;
}
.content {
padding-bottom: 0;
}
}
</style>
<?php
}Let us know how it works on your end, and we’ll be happy to assist further if needed.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Invoice is Right aligned?Hi @baz74 ,
Thank you for the update!
I’m glad to hear you were able to identify the issue.
Please feel free to reach out if you have any further questions or need assistance.
Thank you.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Invoice is Right aligned?Hi @baz74 ,
The template preview shown in the documentation is only for reference. The actual layout on the invoice depends on the selected template and its settings in your site.
Test Direction setting allows you to print text from right to left/ left to right: https://www.tychesoftwares.com/docs/docs/print-invoice-delivery-notes-for-woocommerce/general-settings/template-type/#text-direction
If you have a screenshot, please share so that we can check the exact issue you are referring to.
Also, you can customize the templates, please refer here: https://www.tychesoftwares.com/docs/docs/print-invoice-delivery-notes-for-woocommerce/customizing-templates/
Please let me know if there are any questions further.
Hi @karenkir ,
Our template is fully customizable, so you can adjust the layout to meet your requirement (such as displaying the SKU label and value on the same line).
The template files you can modify are:
print-content.php– contains the PHP code for the layoutstyle.css– contains the CSS styles
Our plugin provides two templates: Default and Simple.
Default template location:
woocommerce-delivery-notes/templates/print-order/Simple template location:
woocommerce-delivery-notes/templates/print-order/simple/ImportantTo prevent your changes from being overwritten during plugin updates, please follow these steps:
- Copy the required template files from the plugin folder.
- Paste them into your active theme folder at:
<your-active-theme>/woocommerce/print-order/ - Make the required modifications in the copied files.
This way, your customizations will remain safe even after plugin updates.
Please check this on your end and let us know if you need any further help.
- This reply was modified 1 month ago by anjitha21.
Hi @ckheaton ,
We recommend updating the plugin to the latest version, as the recent update released on March 10 includes fixes related to block checkout. Once you have updated, please monitor the orders and let us know if you still experience any issues.
If the problem persists, please share the details and we will be happy to assist you further.
Looking forward for your reply.
Hi @megdai ,
Thank you for the update! I’m really glad to hear that applying the patch for class-wcdn-settings.php resolved the issue.
Your feedback helps other users and motivates our team to keep improving.
You can leave a review here:
https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/Please feel free to reach out if you need any further assistance.
Forum: Plugins
In reply to: [Order Delivery Date for WooCommerce] UTC timeHi @tannovanwaarde ,
We have tested the issue on our staging site and it seems everything is working fine.
In order to check further, could you please clarify which time slots you are referring to? Are these the delivery time slots configured in Order Delivery Date?
If possible, please share a screenshot of:
- The time slot settings in the admin, and
- How they appear on the front-end checkout page.
This will help us check the configuration and guide you accordingly.
Forum: Plugins
In reply to: [Order Delivery Date for WooCommerce] UTC timeHi @amar8105alva ,
It seems that the issue you described related to the Booking Calendar plugin is not our plugin.
Could you please confirm which plugin you are currently using for the booking calendar?
If possible, also share the plugin name and version so we can better understand the setup.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Blank pdfHi @jlwebstudio ,
Yes, we tested it using the WPML and the languages you shared.
In order to check further, we will need to check specifically on your site.
You can share the details with us and we will be happy to assist you.
Looking forward for your reply.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Blank pdfHi @jlwebstudio
Thank you for waiting. We tried to replicate the same issue on our end but the PDFs are generated correctly.
In order to check further, could you please create a staging site and share with us the exact steps to reproduce?
You can share the details on support at tychesoftwares dot com.
Looking forward for your response.
Hi @megdai ,
Thank you for your patience.
Our developer has fixed this issue and I am sharing the patch file:
You can download the patch here: https://www.dropbox.com/scl/fi/9vgh6gcrmogr4ugfbbshd/wcdn-front-function.php?rlkey=w13ghboahi48626u8tp0udssj&st=4c4pp2j6&dl=0
Please replace the original file at \wp-content\plugins\woocommerce-delivery-notes\includes\front via FTP.
Please check it on your end and let us know if there are any issues with patch.
Looking forward for your reply soon.
Hi @svenms ,
Our developer has reviewed the issue and implemented a fix.
You can download the patched file from the link below:
https://www.dropbox.com/scl/fi/3o885divynirq8wcnllf7/class-alg-wc-checkout-fees-info.php?rlkey=bs79v94oeo7dhm53vlpb228lt&st=qm48xf8w&dl=0Please replace the original file located at:
/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-alg-wc-checkout-fees-info.phpAfter replacing the file, kindly clear your site and browser cache and test again.
Let us know how it goes.