Support » Plugin: WooCommerce » Appropriate Hook

  • I have a script that adds a generated profile ID to the end of a product name if that product is part of an order.

    This script fires on the ‘woocommerce_pre_payment_complete’ hook. This works great except for one thing, it does not change the product name before the New Order email is sent to the store manager. I am sure it is because I am using a hook after the new order email is created.

    Does anyone have a better suggestion on the appropriate hook to use to accomplish this?

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