WooCommerce - send custom email on custom order status change

I added a custom status wc-order-confirmed: // Register new status function register_order_confirmed_order_status() { register_post_status( 'wc-order-confirmed', array( 'label' =>...

Send notification email when customer changes address WooCommerce

Following up on this thread: https://stackoverflow.com/questions/25544762/woocommerce-refund-email/26413223 I have a problem I can't seem to fix, I read all the topics out there regarding...

WooCommerce custom email for custom payment gateway

So I have created an add on plugin for WooCommerce. I have a custom class to extend the 'cheque' payment gateway to allow a user to perform a wholesale checkout without payment. So far this...

Prevent infinite AJAX loop when using own API

I am currently trying to figure out integration between 2 Wordpress plugins: the WooCommerce Follow Up Emails plugin, and the Ninja Forms plugin (with the end goal that we can send a manual-type...

Wordpress - Uncaught SyntaxError: Unexpected token <

I am enqueue scripts in a child theme with this... function child_theme_scripts() { wp_enqueue_script( 'script-name', get_template_directory_uri() . '/js/custom-child.js', array(),...

Woocommerce processing email not auto sending

I've searched around and from what I can tell, most people just use an SMTP plugin for this... however, I want to know what's wrong! :) A couple of weeks ago we started getting reports of...

Woo commerce checkout page: status was called incorrectly. Order properties should not be accessed directly

Im running WordPress 4.8, Woocommerce 3.1.1, WooCommerce Subscriptions 2.2.10. When I select payment method BACS on the Checkout page I get the following error: PHP message: status was called...

Adding recipients to Woocommerce email notifications based on product variation term

I have created a Woocommerce plugin and require it to do two things: Send a notification message to a specific email address, based on which product variation is in the cart. The email must...

Add the tax total as a separated row on Woocommerce email notifications

I would like to edit the contents of the Woocommerce invoice that a customers gets after ordering. I think I have to edit this file located at...

PHP Fatal error: Cannot declare class Emogrifier, because the name is already in use

I'm currently trying to inline css with a html content which works perfect but only once. When I try it multiple times I'm getting this error: PHP Fatal error: Cannot declare class Emogrifier,...

Adding Border Gap to HTML Email Signature in Outlook

I'm having issues with an email signature I'm trying to code and use in Outlook. I was able to create a custom email signature using HTML and format it enough to where the format appears properly...

YITH WooCommerce Wishlist: Help me show the first item / product thumbnail within the sidebar widget and wishlist manage areas?

I am using YITH Wishlist within WooCommerce, WordPress. Within an individual wishlist - it displays the image, with 'remove from list', the product title and a link through to the individual...

Django, on registering a user: AttributeError: 'AnonymousUser' object has no attribute '_meta'

On trying to register a new user using the wp_register (this is a different type of user), I get the following error: AttributeError: 'AnonymousUser' object has no attribute '_meta' There are...

Gmail does not send file shared through intent, but gives "invalid attachments" error

I am trying to share a file stored in getExternalFilesDir() through ACTION_SEND intent. I use a FileProvider to grant permission and create the uri. The chooser that pops up includes Signal,...

change the template of e-mail message sent when admin changes password/e-mail adress

Lots of our users forgot e-mail adress details and passwords for our website and they are asking me to help them log in. When I change their password/e-mail adress they receive an e-mail message...

How to fix "trim() expects parameter 1" in class-wp-meta-query -> which Meta Key to choose?

I am working on an external application that uses the data from registered users via my website (which uses woocommerce) to login the application. I want to missuse the product expiry (a product...

Communication Wordpress inside Kubernetes and external MySQL server. - MySQL Connection Error: (2002)

In Azure cloud, I have the following infrastructure: A Vnet with two subnets in. Vnet: 10.0.0.0/8 aks-subnet: 10.240.0.0/16 persistence-subnet: 10.241.0.0/27 An Azure Kubernetes cluster was...

Add colon to the end of these two labels

Here is the form code: <form method="post" action="https://www.publictalksoftware.co.uk/wp-login.php" class="bbp-login-form"> <fieldset class="bbp-form"> <legend>Create an...

Why has DocuSign EventNotification stopped working?

In 2017 I integrated DocuSign with a website using the Official DocuSign PHP Client (https://github.com/docusign/docusign-php-client). I took the example code and modified it so that it registered...

Autofill checkout inputs based on custom post type match / query

I have recently come across a problem of which I has me a little confused. Within my WP setup, I have a basic WooCommerce solution, (For the theme I am using the Timber starter theme to make use...

woocommerce custom email templates php

I am stuck in resolving custom email templates to woocomerce. I read dozens of forums (https://stackoverflow.com/questions/33996319/customize-woocommerce-order-email), and I do have my the custom...

Remove "Billing state" and "Shipping state" for Woocommerce E-mail templates

Anyone know how I could hide this? I tried unhooking, but whatever I write down in the php... It just stops working: /wp-content/plugins/woocommerce/templates/emails/email-addresses.php I would...

Wordpress issue,after update

After wordpress is updated automaticlly i received an error in email with this error messages Error Details ============= An error of type E_ERROR was caused in line 369 of the file...

Firebase authentication in Angular

Iam using these @angular/fire official package from firebase. https://www.npmjs.com/package/@angular/fire I have done login by using authentication from firebase.it works fine..but after login I...

Woocommerce: Order items not showing in order email

All my orders are created with the on-hold state by default until payment is confirmed and then the state turns to processing. I created a hook to send the on-hold email every time a new order is...

Broken HTML Emails in Woocommerce

I'm using Woocommerce since today and have started the setup of our shop. Everything is working except for the emails. As you can see below they are fairly botched. The issue appears in...

WooCommerce 4.0.1 order emails not formatting correctly

Since upgrade to WC 4.0.1 the order emails formatting is not correct. Before, on WC 3.x, the formatting of the emails was correct. Words with spaces between letters, inline HTML, different font...

Error in WooCommerce customer email - payment_method was called incorrectly

I have setup a custom payment method for WooCommerce, I don't have any PHP error during payment process but in received email by customer there is this error: Notice: payment_method was called...

Custom action missing from WooCommerce Order actions Metabox dropdown

With the help of this page I've added an additional email to the WooCommerce emails. I wanted it te be a manual email that I can send to the customer, but it's not showing up in the order in the...

How to disable tax being charged on shipping in WooCommerce?

I have configured my Woo-based shop to NOT charge any taxes on shipping: I do have a table for Zero Tax rate configured: however it still does during the checkout: as is apparent in the...