• Resolved olegds

    (@olegds)


    I`d like to make some changes to woocommerce product ordering in admin.
    As i noticed js which makes products sortable has an action woocommerce_product_ordering.

    $.post( ajaxurl, { action: 'woocommerce_product_ordering', id: postid, previd: prevpostid, nextid: nextpostid }, function( response ) {
    				$.each( response, function( key, value ) {
    					$( '#inline_' + key + ' .menu_order' ).html( value );
    				});
    				ui.item.find( '.check-column input' ).show().siblings( 'img' ).remove();
    				$( 'table.widefat tbody th, table.widefat tbody td' ).css( 'cursor', 'move' );
    				$( 'table.widefat tbody' ).sortable( 'enable' );
    			});

    But i can not find such function in plugin file. Please help!

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘woocommerce product ordering’ is closed to new replies.