• Hello everyone,

    I created a birth list plugin for a client. The procedure is simple, purchase from a birthlist, arrived in the shopping cart, order with a possible message for the recipient of the list (the creator of the list actually) and payment.

    Once the payment is made, the email of the standard order form (WC) is sent to the administrator of the site and my plugin sends two emails, one to the administrator of the site (recap of the purchase of birth list) And one to the creator of the list to warn him that products were bought on one of his birth lists.

    Until then, you will tell me, where is the problem … It is very simple. To send my emails, I go through the following action “woocommerce_thankyou” and modify in the wake the DB.

    But now, with the standard WC payment outputs, everything is fine but not when your customer has a TPE (gateway Monetico).

    I therefore realized that the email of order form is sent with a validation of the TPE but no need to click on “back to the shop” while I, the customer must click on this button “back to the shop”.

    So I tried a lot of methods (woocommerce_checkout_order_processed, woocommerce_payment_complete, woocommerce_order_status_changed, woocommerce_payment_complete_order_status) and possible actions with always the same result 🙁

    I said to myself, I have to put my function to the level of sending the email of the order form and I tried this action “woocommerce_email_order_details”, and the result is always the same. My emails only leave if the customer clicks on this damn button “return to the shop” when paying.

    So there is probably a method, like a filter, a cron or other things that I did not do of course. Could you help me get out of this nightmare 😉

    Patrice

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, i need to do a birth list too for my child arrive in december, u have this plugin i was intrested to buy.

    Thread Starter informatux

    (@informatux)

    @piciaro

    Hi, my plugin will be soon accessible on codecanyon (maybe during October).
    It will be named ” ILIST ” 😉
    ILIST will make it possible to create birth lists or wedding lists or others.
    You can see it in production on the website http://choo-design.fr/

    Features:

    ADMINISTRATION
    – Manage your lists (list of associated products, order date, list status, offered by xxx, purchase in shop or on the Internet)
    – Update the products of a list (Date of purchase, modification of the product status (purchase shop, internet purchase), addition of the buyer’s name, automatic email to the creator of the list)
    – Automatic email management (Subject / Creator email body of the list, Subject / Body of the administrator’s email, management of emails administrators)

    VISITORS
    – Accessible lists only from search (additional to WooCommerce)
    – Products list from the WooCommerce plugin
    – Viewing a product in a list outside WooCommerce
    – Purchasing products from the list (ajax button)
    – Checkout – Possibility to leave a message with the order
    – Checkout – Email alert (creator of list / administrator)
    – Display of messages left on the list during orders

    ——————————
    Salut,

    Mon plugin sera bientôt accessible sur Codecanyon (Sûrement courant Octobre).
    Il s’appellera ” ILIST ” 😉
    ILIST permettra de créer des listes de naissance ou des listes de mariage ou au choix.
    Il est visible en production sur le site http://choo-design.fr/

    Ses fonctionnalités :

    ADMINISTRATION
    – Gérer vos listes (liste des produits associés, date des commandes, statut de la liste, offert par xxx, achat en boutique ou sur Internet)
    – Modifier des produits d’une liste (Date d’achat, modification du statut produit (achat boutique, achat internet), ajout du nom de l’acheteur, email automatique au créateur de la liste)
    – Gestion de l’email automatique (Sujet / Corps de l’email du créateur de la liste, sujet / Corps de l’email de l’administeur, gestion des emails administrateurs)

    VISITEURS
    – Listes accessibles uniquement depuis la recherche (additionnelle à celle de WooCommerce)
    – Liste produits provenant du plugin WooCommerce
    – Visualisation d’un produit dans une liste hors WooCommerce
    – Achat des produits depuis la liste
    – Checkout – possibilité de laisser un message à la commande
    – Checkout – alerte email (créateur de la liste / administrateur)
    – Affichage des messages laissés sur la liste lors des commandes

    Thanks so much,
    it seems to me that there is no important thing among the possibilities.
    Participate with a quota to an object. you confirm?

    Thread Starter informatux

    (@informatux)

    @piciaro

    There is no quota to an object… But a lot of objects in a list. You take as many objects as you wish it in a list (one or more).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Send additional emails to the order form WooCommerce’ is closed to new replies.