Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify invoice printing content #222

Open
mokshasharmila13 opened this issue Mar 29, 2023 · 2 comments
Open

Modify invoice printing content #222

mokshasharmila13 opened this issue Mar 29, 2023 · 2 comments
Assignees

Comments

@mokshasharmila13
Copy link
Collaborator

However, it currently has too few editing options. If there are more editing options in the invoice content.

  • change the position of the content columns in the invoice
  • customize the date on the invoice
  • customize the size of the printed paper
  • Customize the display of email and phone number on an invoice
@mokshasharmila13 mokshasharmila13 added this to the Future Milestone milestone Mar 29, 2023
@mokshasharmila13 mokshasharmila13 self-assigned this Mar 29, 2023
@andyg2
Copy link

andyg2 commented May 30, 2023

Copy the template files (print-content.php and style.css) to your child theme and edit them

Make new directory in child theme directory

.../wp-content/themes/theme-child/woocommerce/print-order

Copy template files to theme directory

From .../wp-content/plugins/woocommerce-delivery-notes/templates/print-order
To .../wp-content/themes/theme-child/woocommerce/print-order

Possible

  • change the position of the content columns in the invoice (print-content.php)
  • customize the date on the invoice (print-content.php)
  • Customize the display of email and phone number on an invoice (print-content.php)
  • customize the size of the printed paper (style.css)
@media print 
{
   @page
   {
    size: 8.5in 5.5in;
    size: portrait;
  }
}

@handelce
Copy link
Contributor

@andyg2 Thank you for your contribution to this issue. The points you mentioned are quite helpful and we'll keep them in mind when releasing a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants