Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

159
Vistas
How to get the order number after submitting the "buy in 1 click" form

I have a 1-click purchase plugin for wordpress. When a client enters a name and email, an order is created in the admin panel. How to display the order number for client in a modal window after placing an order? I have a code that creates an order. It generates an order number after submitting the form. I don't understand how to catch him.

$order = wc_create_order();

        do_action( 'awooc_after_created_order', $product_id, $order, $address, $product_qty );

        $this->add_order( $order, $product_id, $product_qty, $address );

        $this->change_subject( $contact_form, $order );

        do_action( 'awooc_after_mail_send', $product_id, $order->get_id() );
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda