{"id":134087,"date":"2020-12-30T02:01:34","date_gmt":"2020-12-30T02:01:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/attach-excel-invoice-wooc-wpshare247\/"},"modified":"2021-01-06T07:30:48","modified_gmt":"2021-01-06T07:30:48","slug":"attach-excel-invoice-wooc-wpshare247","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/attach-excel-invoice-wooc-wpshare247\/","author":16149629,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"5.5.18","requires":"4.9","requires_php":"5.6","requires_plugins":"","header_name":"Attach Excel Invoice WOOC - WPSHARE247","header_author":"Wpshare247.com","header_description":"Cho ph\u00e9p t\u1ea1o file excel c\u00f3 n\u1ed9i dung h\u00f3a \u0111\u01a1n g\u1eedi \u0111\u00ednh k\u00e8m khi g\u1eedi email \u0111\u1eb7t h\u00e0ng.","assets_banners_color":"f8f7f3","last_updated":"2021-01-06 07:30:48","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/auvuonle\/5","header_plugin_uri":"https:\/\/wpshare247.com\/","header_author_uri":"https:\/\/wpshare247.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1516,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"website366","date":"2020-12-30 04:35:46"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2447692,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2447683,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2447683,"resolution":"1","location":"assets","locale":"","width":845,"height":481},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2447683,"resolution":"2","location":"assets","locale":"","width":786,"height":527},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2447683,"resolution":"3","location":"assets","locale":"","width":1176,"height":622},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2447683,"resolution":"4","location":"assets","locale":"","width":1131,"height":605},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2447683,"resolution":"5","location":"assets","locale":"","width":1069,"height":539},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2447683,"resolution":"6","location":"assets","locale":"","width":795,"height":536}},"screenshots":{"1":"screenshot-1.png","2":"screenshot-2.png","3":"screenshot-3.png","4":"screenshot-4.png","5":"screenshot-5.png","6":"screenshot-6.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[267,12480,1896,286],"plugin_category":[41,45],"plugin_contributors":[194603],"plugin_business_model":[],"class_list":["post-134087","plugin","type-plugin","status-publish","hentry","plugin_tags-email","plugin_tags-invoice","plugin_tags-order","plugin_tags-woocommerce","plugin_category-communication","plugin_category-ecommerce","plugin_contributors-website366","plugin_committers-website366"],"banners":{"banner":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/banner-772x250.png?rev=2447683","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/icon-256x256.png?rev=2447692","icon_2x":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/icon-256x256.png?rev=2447692","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/screenshot-1.png?rev=2447683","caption":"screenshot-1.png"},{"src":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/screenshot-2.png?rev=2447683","caption":"screenshot-2.png"},{"src":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/screenshot-3.png?rev=2447683","caption":"screenshot-3.png"},{"src":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/screenshot-4.png?rev=2447683","caption":"screenshot-4.png"},{"src":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/screenshot-5.png?rev=2447683","caption":"screenshot-5.png"},{"src":"https:\/\/ps.w.org\/attach-excel-invoice-wooc-wpshare247\/assets\/screenshot-6.png?rev=2447683","caption":"screenshot-6.png"}],"raw_content":"<!--section=description-->\n<p>Cho ph\u00e9p t\u1ea1o file excel c\u00f3 n\u1ed9i dung h\u00f3a \u0111\u01a1n g\u1eedi \u0111\u00ednh k\u00e8m khi g\u1eedi email \u0111\u1eb7t h\u00e0ng, t\u1ea3i file h\u00f3a \u0111\u01a1n, zip nhi\u1ec1u file h\u00f3a \u0111\u01a1n, xu\u1ea5t t\u1ea5t c\u1ea3 c\u00e1c h\u00f3a \u0111\u01a1n.<\/p>\n\n<p><strong>T\u00ednh n\u0103ng n\u1ed5i b\u1eadt<\/strong><\/p>\n\n<ul>\n<li>Xu\u1ea5t \u0111\u01a1n h\u00e0ng th\u00e0nh file excel, sau \u0111\u00f3 \u0111\u00ednh k\u00e8m v\u00e0o email sau khi \u0111\u1eb7t h\u00e0ng th\u00e0nh c\u00f4ng<\/li>\n<li>T\u1ea1o file excel h\u00f3a \u0111\u01a1n t\u1eeb 1 \u0111\u01a1n h\u00e0ng b\u1ea5t k\u00ec trong danh s\u00e1ch \u0111\u01a1n h\u00e0ng<\/li>\n<li>T\u1ea1o file excel h\u00f3a \u0111\u01a1n c\u00f9ng l\u00fac nhi\u1ec1u h\u00f3a \u0111\u01a1n, n\u00e9n th\u00e0nh file zip<\/li>\n<li>Xu\u1ea5t th\u00f4ng tin danh s\u00e1ch \u0111\u01a1n h\u00e0ng th\u00e0nh file excel<\/li>\n<li>C\u00f3 c\u1ea5u h\u00ecnh \u0111\u1eb7t t\u00ean file<\/li>\n<\/ul>\n\n<p><strong>T\u00ednh n\u0103ng n\u1ed5i b\u1eadt b\u1ea3n Pro (Pro Version)<\/strong><\/p>\n\n<ul>\n<li>C\u00f3 \u0111\u00ednh k\u00e8m th\u00eam logo v\u00e0o h\u00f3a \u0111\u01a1n excel<\/li>\n<li>N\u1ed9i dung file excel \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf chu\u1ea9n \u0111\u1eb9p<\/li>\n<li>C\u00f3 th\u1ec3 ch\u1ec9nh m\u00e0u n\u1ec1n, m\u00e0u vi\u1ec1n, m\u00e0u ch\u1eef, ki\u1ec3u vi\u1ec1n k\u1ebd trong file excel<\/li>\n<li>C\u00f3 nhi\u1ec1u template \u0111\u1ec3 ch\u1ecdn l\u1ef1a<\/li>\n<\/ul>\n\n<p><strong>G\u1ecdi h\u00e0m trong theme ( functions.php ho\u1eb7c b\u1ea5t c\u1ee9 template n\u00e0o: header.php, footer.php...)<\/strong><\/p>\n\n<ul>\n<li><p><strong>T\u1ea1o 1 file excel t\u1eeb \u0111\u01a1n h\u00e0ng id<\/strong><\/p>\n\n<p>$order_id = 50;\n$save_dir = ''; \/\/ \u0111\u01b0\u1eddng d\u1eabn ch\u1ee9a file, n\u1ebfu r\u1ed7ng th\u00ec file s\u1ebd \u0111\u01b0\u1ee3c l\u01b0u v\u00e0o \u0111\u01b0\u1eddng d\u1eabn m\u1eb7c \u0111\u1ecbnh\n$excel_file_path = wpshare247_aeiwooc_create_invoice_file_by_order_id( $order_id, $save_dir );<\/p><\/li>\n<li><p><strong>Xu\u1ea5t t\u1ea5t c\u1ea3 \u0111\u01a1n h\u00e0ng th\u00e0nh danh s\u00e1ch trong file excel<\/strong><\/p>\n\n<p>$order_ids = array(50, 80, 90);\n$save_dir = ''; \/\/ \u0111\u01b0\u1eddng d\u1eabn ch\u1ee9a file, n\u1ebfu r\u1ed7ng th\u00ec file s\u1ebd \u0111\u01b0\u1ee3c l\u01b0u v\u00e0o \u0111\u01b0\u1eddng d\u1eabn m\u1eb7c \u0111\u1ecbnh\n$excel_file_path = wpshare247_aeiwooc_export_excel_file($order_ids, $save_dir)<\/p><\/li>\n<li><p><strong>T\u1ea1o nhi\u1ec1u file excel c\u00f9ng l\u00fac t\u1eeb c\u00e1c \u0111\u01a1n h\u00e0ng sau \u0111\u00f3 n\u00e9n th\u00e0nh file zip<\/strong><\/p>\n\n<p>$arr_order_id = array(50, 80, 90);\n$zip_file_path = wpshare247_aeiwooc_create_zip_file_from_order_ids($arr_order_id);<\/p><\/li>\n<li><p><strong>Ghi ch\u00fa:<\/strong>\n$save_dir m\u1eb7c \u0111\u1ecbnh l\u00e0: wp-content\\uploads\\wpshare247_aeiwooc_woocommerce_invoices\nXem th\u00eam t\u1ea1i: <code>plugins\\attach-excel-invoice-wooc-wpshare247\\inc\\theme_functions.php<\/code><\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>T\u1ea3i th\u01b0 m\u1ee5c <code>wpshare247-attachement-order-excel<\/code> v\u00e0o \u0111\u01b0\u1eddng d\u1eabn <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>K\u00edch ho\u1ea1t t\u1eeb menu <strong>Plugins<\/strong> (<strong>Plugins &gt; Installed Plugins<\/strong>).<\/li>\n<\/ol>\n\n<p>T\u00ecm <strong>C\u1ea5u h\u00ecnh AEIWOOC<\/strong> menu trong WooCommerce.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Xu\u1ea5t b\u1ea3n plugin<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Ch\u1ec9nh s\u1eeda file readme<\/li>\n<\/ul>\n\n<p><strong>Fixed m\u1ed9t v\u00e0i th\u1ee9<\/strong><\/p>\n\n<ul>\n<li>Th\u00eam: M\u1ed9t s\u1ed1 key d\u1ecbch<\/li>\n<li>Fix: \u0110\u01b0\u1eddng d\u1eabn c\u1ea5u h\u00ecnh plugin<\/li>\n<li>B\u1ed5 sung: th\u00eam m\u1ed9t s\u1ed1 c\u1ed9t trong file excel trong danh s\u00e1ch \u0111\u01a1n h\u00e0ng<\/li>\n<\/ul>","raw_excerpt":"Cho ph\u00e9p t\u1ea1o file excel c\u00f3 n\u1ed9i dung h\u00f3a \u0111\u01a1n g\u1eedi \u0111\u00ednh k\u00e8m khi g\u1eedi email \u0111\u1eb7t h\u00e0ng, t\u1ea3i file h\u00f3a \u0111\u01a1n, zip nhi\u1ec1u file h\u00f3a \u0111\u01a1n, xu\u1ea5t t\u1ea5t c\u1ea3 c\u00e1c h\u00f3a \u0111\u01a1n.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/134087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=134087"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/website366"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=134087"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=134087"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=134087"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=134087"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=134087"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=134087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}