Bulk action drop down menu error
-
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://www.ads-software.com/plugins/woocommerce-order-product-count/
- The topic ‘Bulk action drop down menu error’ is closed to new replies.