Attach Excel Invoice WOOC – WPSHARE247

plugin banner

Cho phép tạo file excel có nội dung hóa đơn gửi đính kèm khi gửi…

Author:Wpshare247.com (profile at wordpress.org)
WordPress version required:4.9
WordPress version tested:5.5.5
Plugin version:1.1
Added to WordPress repository:30-12-2020
Last updated:06-01-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://wpshare247.com/
Total downloads:777
Active installs:20+
plugin download
Click to start download

Cho phép tạo file excel có nội dung hóa đơn gửi đính kèm khi gửi email đặt hàng, tải file hóa đơn, zip nhiều file hóa đơn, xuất tất cả các hóa đơn.

Tính năng nổi bật

  • Xuất đơn hàng thành file excel, sau đó đính kèm vào email sau khi đặt hàng thành công
  • Tạo file excel hóa đơn từ 1 đơn hàng bất kì trong danh sách đơn hàng
  • Tạo file excel hóa đơn cùng lúc nhiều hóa đơn, nén thành file zip
  • Xuất thông tin danh sách đơn hàng thành file excel
  • Có cấu hình đặt tên file

Tính năng nổi bật bản Pro (Pro Version)

  • Có đính kèm thêm logo vào hóa đơn excel
  • Nội dung file excel được thiết kế chuẩn đẹp
  • Có thể chỉnh màu nền, màu viền, màu chữ, kiểu viền kẽ trong file excel
  • Có nhiều template để chọn lựa

Gọi hàm trong theme ( functions.php hoặc bất cứ template nào: header.php, footer.php…)

  • Tạo 1 file excel từ đơn hàng id

    $order_id = 50;
    $save_dir = ”; // đường dẫn chứa file, nếu rỗng thì file sẽ được lưu vào đường dẫn mặc định
    $excel_file_path = wpshare247_aeiwooc_create_invoice_file_by_order_id( $order_id, $save_dir );

  • Xuất tất cả đơn hàng thành danh sách trong file excel

    $order_ids = array(50, 80, 90);
    $save_dir = ”; // đường dẫn chứa file, nếu rỗng thì file sẽ được lưu vào đường dẫn mặc định
    $excel_file_path = wpshare247_aeiwooc_export_excel_file($order_ids, $save_dir)

  • Tạo nhiều file excel cùng lúc từ các đơn hàng sau đó nén thành file zip

    $arr_order_id = array(50, 80, 90);
    $zip_file_path = wpshare247_aeiwooc_create_zip_file_from_order_ids($arr_order_id);

  • Ghi chú:
    $save_dir mặc định là: wp-content\uploads\wpshare247_aeiwooc_woocommerce_invoices
    Xem thêm tại: plugins\attach-excel-invoice-wooc-wpshare247\inc\theme_functions.php


Screenshots
ChangeLog