Rashmi Malpande
Forum Replies Created
-
Hi @websitewendy, @johnlaw3742, @nigelo,
The shipping address appears when you add the shipping information in the admin while creating the order. You can add the shipping information by clicking on the ‘Add items’ button on Edit Order page.
Regards,
RashmiForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Wrong invoice DateHi @creativen,
You will have to make some changes in the plugin files.
1. Go to line no 251 in ‘woocommerce-delivery-notes/includes/wcdn-template-functions.php’ file. You will find this condition –
if( wcdn_get_template_type() == 'invoice:' ) {
Remove the colon from the string ‘invoice:’. Change it to –
if( wcdn_get_template_type() == 'invoice' ) {
2. Go to line 501 in ‘woocommerce-delivery-notes/includes/class-wcdn-print.php’ file. You will find this statement –
$meta_added = add_post_meta( $order_id, $meta_key, time(), true );
Change it to –
$meta_added = update_post_meta( $order_id, $meta_key, time() );
This will show the date on which the invoice is sent. We will add this in the plugin in our next update.
Regards,
RashmiForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Wrong invoice DateHi @creativenl,
It is not possible to add a invoice date in the current version of the plugin. But you can display it using some custom coding. You will have to override the invoice template and add some code to display the invoice date. This invoice date is also displayed in the admin order page below the ‘Print Invoice’ button.
Can you tell me where you want the invoice date to be displayed so that I can tell where exactly you will need to add the custom code?
Regards,
Rashmi- This reply was modified 6 years, 11 months ago by Rashmi Malpande.
Hi Stacy,
Yes, we will be able to change the wording of the print link, possibly through a setting where you will be able to add the text.
Regards,
RashmiHi @simstace,
It’s not possible to change the link to print the invoice currently. We are thinking of adding this feature in our next update which will take at least a week.
We will also add the ability to download it as PDF. For now, the customers will have to print the PDF manually by clicking the ‘Print’ option after right clicking on the print page.
Please let me know if you have any other queries regarding the plugin.
Regards,
RashmiForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Shipping & Billing addressHi @relle23,
You can do this by modifying the template a bit. Copy the file ‘print-content.php’ from /wp-content/plugins/woocommerce-delivery-notes/templates/print-order to /wp-content/themes/yourtheme/woocommerce/print-order. In this file you will need to remove the following code on line 27 –
<div class="billing-address"> <h3><?php _e( 'Billing Address', 'woocommerce-delivery-notes' ); ?></h3> <address> <?php if( !$order->get_formatted_billing_address() ) _e( 'N/A', 'woocommerce-delivery-notes' ); else echo apply_filters( 'wcdn_address_billing', $order->get_formatted_billing_address(), $order ); ?> </address> </div>
Please let me know if this worked for you.
Regards,
RashmiHi @pantelis1984,
You can the font-size for the meta information under prroduct name through CSS. Go to your theme’s style.css and the following style-
.extras dt, .extras dd { font-size: 20px; }
Set the font-size to anything you want. Let me know if this worked for you.
Regards,
Rashmi MalpandeForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] delivery not templateIf you want to modify the template, just copy the file /wp-content/plugins/woocommerce-delivery-notes/templates/print-order/print-content.php file to /wp-content/themes/<yourtheme>/woocommerce/print-order
You can make the changes there so that your changes won’t be lost when you update the plugin.
Regards,
Rashmi MalpandeHi @thechapsou,
Are you referring to the ‘Print Invoice’ option in the ‘Bulk Actions’ on the admin Order Page? I checked that and it seems to be working fine.
Can you try to deactivate other plugins to see if they are causing this?
Let me know if this doesn’t work.
Regards,
RashmiForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Coupon name in print orderHi @tvojsplet,
You will have to override the templates file to add any extra information. Can you tell me where do you want to add the coupon name in the invoice?
Regards,
RashmiIt is not possible to fix this from within the plugin. This is the default print functionality. You will have to manually adjust the size to fit the page.
Regards,
RashmiHi @jerodbarlow
We are sorry for the delay. You can add this feature using some custom code. Copy the file template file ‘print-content.php’ from ‘wp-content/plugins/woocommerce-delivery-notes/templates/print-order’ to ‘wp-content/themes/yuortheme/woocommerce/print-order’.
You will find the following code on line 188 –
<td class="total-quantity"></td>
Replace it with this condition –
<?php if( $total['label'] == 'Total' ) { ?> <td class="total-quantity"><?php echo $order->get_item_count() ?></td> <?php } else { ?> <td class="total-quantity"></td> <?php } ?>
This will add total quantity in the Totals row.
We would definitely think of adding this feature in the future release. Let me know if this worked for you.
Regards,
RashmiHi @larsdahlman
Which POS plugin are you using? Can you send us a screenshot of the Order page which displays the extra information?
Regards,
RashmiForum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Hide “Includes XX tax”Hi @zzbeck
This is the WooCommerce functionality. The total is displayed in the same way it is displayed on Cart & Checkout page. You will have to change it using the WooCommerce filter ‘woocommerce_get_order_item_totals’.
Add the following code in your theme’s functions.php file –
add_filter( 'woocommerce_get_order_item_totals', 'wc_get_order_item_totals', 10, 3 ); function wc_get_order_item_totals( $total_rows, $order, $tax_display ) { $total_rows['order_total'] = array( 'label' => __( 'Total:', 'woocommerce' ), 'value' => $order->get_formatted_order_total(), ); return $total_rows; }
Let me know if this works for you.
Regards,
Rashmi