Changes proposed in this Pull Request
- When you have a plan and domain in cart, and then try to remove the plan item, the following message is shown:
When you press Continue, we will remove your plan from the cart and your site will continue to run with its current plan. Since your other product(s) depend on your plan to be purchased, they will also be removed from the cart and we will take you back to your site.
This messaging is not entirely correct, because PWPO users can remove the plan and still purchase only a domain. Also, removing the plan will not remove the domain item from cart and also does not redirect back to site.
- This PR checks if the user has PWPO flag enabled, and then removes the incorrect lines from the messaging. So now, the modal copy will look like this:
Testing instructions
- On a free plan site, add a domain and plan to cart and proceed to checkout (in US/USD so that the new checkout is seen).
- Click “Edit” on the order, and then the trash icon on the plan item. Verify that the message is as shown in the screenshot in the PR description.
Unfortunately, no screenshots were provided by the developer.