• Resolved kustomsport

    (@kustomsport)


    Hello

    Is there anyway to remove the hashtag in front of the order number

    When you view orders on the back end it shows a hashtag in front of the order number

    Thanks Ross

Viewing 6 replies - 1 through 6 (of 6 total)
  • This hash is hard-coded at:
    plugins/woocommerce/src/Internal/Admin/ListTable.php line 832
    Its not translatable and its not passed through a filter, so you would need to edit line 832 after every update. Its not recommended to edit plugin core files.

    The hash in the front-side user account order number is translatable, but that’s not what you asked.

    Thread Starter kustomsport

    (@kustomsport)

    @lorro

    Okay thats fine, how would i change the front side?

    Load and activate the Say What? plugin:
    https://www.ads-software.com/plugins/say-what/

    Dashboard > Tools > Text changes > Add new
    with these settings:

    Original string
    #

    Domain
    woocommerce

    Context
    hash before order number
    (must be exact)

    Replacement string
    Nr
    (whatever you want here)

    Thread Starter kustomsport

    (@kustomsport)

    @lorro

    Many thanks for that, works great for the front end

    I guess there is no other way to change it in the back end then? The front end works great now just the problem lies with the back end.

    Royal mail click and drop takes orders from woo commerce and imports them along with the order number including the hashtag Example: #4747

    Now on our packing slip we have barcodes which copys the order number and displays a barcode but we cannot add the hashtag to these barcodes. When we scan the barcode into royal mail it says the order is not found because the barcode doesnt have the hashtag and royal mail has the order number with a hashtag

    Do you have any other suggestions

    Hi @kustomsport

    Thanks for reaching out!

    Royal mail click and drop takes orders from woo commerce and imports them along with the order number including the hashtag Example: #4747

    Now on our packing slip we have barcodes which copys the order number and displays a barcode but we cannot add the hashtag to these barcodes. When we scan the barcode into royal mail it says the order is not found because the barcode doesnt have the hashtag and royal mail has the order number with a hashtag

    Can you please share how are you adding the packing slip on your site as this is not part of the core functionalities of WooCommerce?

    If this was added thru a third-party plugin or a custom code, it would be best to reach out to the developers for further assistance here.

    Thanks!

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy.

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Order number hashtag’ is closed to new replies.