Forums
Forums / Plugin: WooCommerce Order Product Count / Bulk action drop down menu error
(@daniel-w-1)
11 years, 10 months ago
The second bulk action drop down menu (below the list of orders) is not working.
/** * Add the Orders Product Count menu item to bulk actions * * @return type */ public static function woocommerce_export_orders_menu() { global $post_type;
if ( ‘shop_order’ == $post_type ) { ?> <script type=”text/javascript”> jQuery(document).ready(function() { jQuery(‘<option>’).val(‘export_orders’).text(‘<?php _e( ‘Order Product Count’, ‘woocommerce-export’ )?>’).appendTo(“select[name=’action’]”); jQuery(‘<option>’).val(‘export_orders’).text(‘<?php _e( ‘Order Product Count’, ‘woocommerce-export’ )?>’).appendTo(“select[name=’action2′]”); }); </script> <?php } }`
https://ww.wp.xz.cn/plugins/woocommerce-order-product-count/
The topic ‘Bulk action drop down menu error’ is closed to new replies.