• Resolved propixelmedia

    (@propixelmedia)


    I wanted to make a keyboard shortcut for the UPDATE button on the Woocommerce Orders screen. For example, hitting (Shift+Ctrl+S commits an UPDATE). Really the question could be expanded to include all kinds of keyboard shortcuts for various functions, such as saving changes to Product page.

    I found this interesting post about it: https://wordpress.stackexchange.com/questions/199403/keyboard-shortcut-for-updating-a-page-or-post

    But I suspect that’s only going to work on WordPress blog posts, not Woocommerce orders. I ran it as a code snippet and I couldn’t get it to work anyhow, in WordPress posts or in Woocommerce orders.

Viewing 1 replies (of 1 total)
  • Roxy

    (@roxannestoltz)

    Hi @propixelmedia ,

    This is a really great question!

    There are keyboard shortcuts available for WordPress Classic editor, as well as the WordPress block editor, however these are specific to WordPress and as far as I am aware, these will not work for WooCommerce.

    While I am unable to find anything with regard to WooCommerce keyboard shortcuts, or any plugin that can help you achieve this, it may be possible to achieve this using JavaScript to capture keyboard events and trigger the appropriate actions.

    Since custom code is outside our scope of support, I’d suggest looking at hiring a developer for help with custom code, or ask your customisation questions in one of the channels below.

    I will go ahead and leave this topic open for a bit to see if anyone else can chime in and perhaps share a possible solution.

    I hope this points you in the right direction ??

Viewing 1 replies (of 1 total)
  • The topic ‘How to add a keyboard shortcut to the UPDATE button?’ is closed to new replies.