Create a packing slip link
-
I’ve got a cobbled together order management page (which has no wordpress/woocommerce includes/functions, all hand coded php/sql) but I want to be able to have a print/open packing slip link on the page.
I’ve tried call the URL as per the woocommerce page but have no idea how to generate the _wpnonce code, everything I’ve done has come back with ‘not authorised’
/wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&document_type=packing-slip&order_ids=13355&_wpnonce=xxxxxxxxx
Is there a ‘quick fix’ please?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Create a packing slip link’ is closed to new replies.