• Resolved dlindstr0m

    (@dlindstr0m)


    Hello,

    This is a fairly minor issue, but we have a client who likes things to be in a very specific order on the order screen. Currently it appears that when trying to click and drag the PDF Document Data box on the order screen into a different position, it is not saving the position and defaults back to displaying directly under the order details. We are able to move the “Create PDF” box without any issues, it just appears to be an issue specifically with the PDF Document Data Box. Is there a way we can set a priority for this so that it shows up as the very last box on the order screen?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @dlindstr0m,

    By default, the PDF document data metabox is moved after the order data after reloading the page. However, you can disable this behavior with the following code snippet:

    /**
     * PDF Invoices & Packing Slips for WooCommerce:
     * Allows to freely move the PDF document data panel per user
     */
    add_filter( 'wpo_wcpdf_sticky_document_data_metabox', '__return_false' );

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

    Thread Starter dlindstr0m

    (@dlindstr0m)

    Thank you @yordansoares, that worked perfectly!

    Plugin Contributor Yordan Soares

    (@yordansoares)

    I’m glad to hear that, @dlindstr0m!

    If you don’t mind and have the time, do you think you could leave us a review?

    Thanks in advance and all the best with your store!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rearrange PDF Document Data on order screen’ is closed to new replies.