• Hi,

    I have an issue with the Deposit Details metabox on the WooCommerce order edit page.

    The metabox itself is displayed correctly, but its JavaScript functionality does not work.

    I checked admin/class-apd-admin.php and found that apd-admin.js is only enqueued on the plugin’s own admin page and on the product edit screen on line 36:

    if ( 'toplevel_page_apd-deposits' === $hook ) {
    ...

    There is no enqueue for the WooCommerce Order edit screen, where the Deposit Details metabox is actually displayed.

    As a result, the HTML is present, but apd-admin.js is not loaded on that page, so the functionality associated with the metabox does not work.

    Could you please fix this?

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.