[Resolved] Adding a serial code to an order

Home Forums Support [Resolved] Adding a serial code to an order

Home Forums Support Adding a serial code to an order

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2068506
    Slim K

    This is not really a generatepress inquiry, but you guys always utilize the BEST plugins… without adding a huge plugin to woocommerce… I want to do this:

    So we sell products, but the products thsemselves have serial numbers. However we can’t automate the process, because the product in question comes out of a warehouse and until the product has been ordered we don’t assign a serial number πŸ™‚

    I thought, maybe i could EDIT THE ORDER NUMBER and just make it the SERIAL NUMBER. However it doesn’t seem to be possible to edit an order number after it’s been generated. So.. we’ve just been ADDING the serial number to the ORDER NOTES. However… if we wanted to SEARCH which serial number belonged to WHICH order that’s not possible πŸ™

    Could you recommend a plugin I could do this with πŸ™‚ ?

    #2069078
    David
    Staff
    Customer Support

    Hi there,

    Woocommerce has a filter hook called: woocommerce_shop_order_search_fields which can be used to add search fields to the order admin screen – heres an example of it being used to search by custom field:

    https://stackoverflow.com/a/36471585

    So thats a possibility after you add the custom field to the order, which Woo offers a paid extension for:

    https://woocommerce.com/document/woocommerce-admin-custom-order-fields/

    #2069363
    Slim K

    You are too awesome. Works like a charm! – i even managed to do it without that plugin πŸ˜›

    #2069702
    David
    Staff
    Customer Support

    Even better! Glad to be of help!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.