google / google/site-kit-wp

Use the WooCommerce email template when registering for a site during checkout

Open
#11,935 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Module: Sign in with Google Type: Enhancement Type: Support
Dominant language
JavaScript
Stars
1.4k
Forks
384
Avg merge
4d 14h
Merged PRs (30d)
77

Description

Feature Description

In WordPress when using WooCommerce, there are 2 different welcome emails that can be used when registering for the first time on a store.

Which one is used depends on where a user registers, with the options listed below:

  1. Standard WP new user registration via register.php. This contains a link to a users wp-login page.
  2. During WooCommerce checkout
    1. Checkout > Create an account
    2. Checkout/my-account > Login > Sign in with Google / Register via email

When using Sign in with Google on the my-account WooCommerce endpoint, ensure that the WooCommerce email is sent, as opposed to the standard WordPress email. On the my-account page, if registering via email, the WooCommerce email is used.

Another option, should we be unable to change the email notification, is to provide a filter or option for no email to be sent, as the standard WordPress email contains the wp-login path, which may be customized.

This is a user request via the support forums.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Sign in with Google registration flow on the WooCommerce my-account endpoint and compare it with registration via email and checkout account creation. Done means registrations through Google use the WooCommerce welcome email rather than the standard WordPress email, or provide the requested email-suppression option.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.