WordPress.org

Forums

WooCommerce Print Invoice & Delivery Note
[resolved] Wrong order/billing date, no phone number (8 posts)

  1. prettina
    Member
    Posted 2 years ago #

    Hi,

    Until now it was working fine but after updating it is not picking up phone number and it shows the billing date a day ahead of what is actually.Like the person ordered on 3rd march and it is showing 4th march?
    Can you please help me with this.

    Thanks,
    Kat

    http://wordpress.org/extend/plugins/woocommerce-delivery-notes/

  2. ersinuluk@gmail.com
    Member
    Posted 2 years ago #

    Hi,

    I have the same issues after updating. Until before updating, it was working very well, awesome plugin. Now, it cannot show phone number and billing date always out of sync.

    Thanks in advance for help.

    Ersin

  3. Arnan de Gans
    Member
    Posted 2 years ago #

    Same issue here

  4. oiorokko
    Member
    Posted 2 years ago #

    Same issue here after the update.

  5. prettina
    Member
    Posted 2 years ago #

    I noticed that the billing date is picked up from the actual date.Like whatever day you print the invoice is the date it is going to show on billing date.This is incorrect because customer paid online on a specific date not the day we print invoice.

  6. oiorokko
    Member
    Posted 2 years ago #

    Just noticed in the change-log:

    NEW: In the template the today's date is now used as default instead of the order date.

    There is no need to use today's date. I (we) need the billing date on the invoice.

    There should be an option to choose from, if someone really needs today's date on the invoice.

  7. piffpaffpuff
    Member
    Plugin Author

    Posted 2 years ago #

    thanks for the report. i switched back to the date when the order was created. that's the sole date woocommerce generates. please update to 2.0.1

    to add your phone number you may want to use the following code in your functions.php (not tested):

    add_filter('wcdn_billing_address', 'my_filter_function');
    add_filter('wcdn_shipping_address', 'my_filter_function');
    
    function my_filter_function($address) {
    global $wcdn;
    return $address . '<br/><br/>' . $wcdn->print->get_order()->billing_phone . '<br/>' . $wcdn->print->get_order()->billing_email;
    }
  8. fatz
    Member
    Posted 1 year ago #

    hi there,
    I know this post is a bit old already, but I would need the billing date as well. not only the date of the order placed in the shop is required in my country I also do have to show the date of todays date printing the bill.

    do you think that would be possible? I will keep on searching and will post a solution if I will find one. but if anyone is faster, I would be very thankful to hear your solution!

    greetings
    from that stupid country who wants to have that billing date...

    Fatz

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Print Invoice & Delivery Note
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic