Edit specific woocommerce notification message - wordpress

On our woocommerce store, we only allow new customers to access the shop after their new account has been manually approved.
However, after successfully registering a new account the user is shown this misleading notification by woocommerce - and I'm not sure where to edit this:
> Your account was created successfully and a password has been sent to your email address.
Any ideas on where this message is generated? and how I can change the text

I'm not sure how to edit this message, but I may know a workaround if you want it to make it disappear.
You can try to inspect the element to find out the class and set display: none to it in your theme's custom css.
It may buy you time until you find the actual solution.

Related

Woocommerce - Order Tracking Link

I want to include a 'check my order status' link in the thank you email. Woocommerce comes with a order tracking form, but the user has to input their order id and email. Is there a way to show the tracking page without going through the input form?
I know my accounts has a view order link, but that would only work if the user is registered.
Yes, you can show an order tracking link in your email. It is a bit convoluted way and will take some time. It is much easier to let the user input his information. This makes things a lot less complicated. But if you absolutely need the order tracking in the email, then,
Put this information somewhere other than your secured site,
Make sure you update this information regularly,
Take the ID of
this information from your database and make a GET endpoint(hoping
its a web application), such that it takes in the ID number of the
information and displays it,
This GET link needs to be embedded
into a HTML form/template which you are sending as the email
If you want the whole implementation, you need to specify the tech stack you are using and other details.
If you want to show one tracking page which page customers/users can search their order status without login, then you can use the plugin Order Tracker for WooCommerce
If you use the plugin then the user can check his/her order status without login/hassle free, and also you don't need to add any extra tracking number, user can search using their order ID and phone number.
you can use it the very easy way, like making a page template or using the [cbwct-order-tracker] shortcode, anytime anywhere, and it’s also working with ajax.
You can watch the video for the plugin documentation on how to use that plugin here is the
Video Tutorial

How to change the "Account already exists" error in Woocommerce on checkout, into a login box?

Woocommerce checkout throws an error "An account is already registered with your email address", when you did not log in before checkout.
This is so clumsy. What I want in this case is to immediately show a popup with a login box, with the email address already populated.
It looks a little like this question: Woocommerce: Override login required for existing email. Add order to user account
But it is different.
I can't find anything that comes close.
I have looked for a solution as well. The closest I have found is the plugin linked below.
What I like is that when an email is added it will recognize if they are a past customer and automatically reveals a password input box underneath the email box. https://www.checkoutwc.com
This article describes more of what I mean under Login Lookup heading: https://oceanwp.org/blog/optimizing-your-woocommerce-checkout-page-with-checkout-for-woocommerce/
I have been testing it and so far I am happy with it. I signed up for the monthly subscription and will see if it helps increase sales. We get a 7-day free trial to play with it.
I also agree that Woo's solution is a little clumsy. :)
Best of luck! :)

Is it possible to customise firebase email templates

I am trying to figure out if it is possible to customise firebase email templates at html level. In my dashboard the field seems to be there
But is not editable. I am using their free tier at the moment, will this become editable if I upgrade to paid plan? Can I request this field to become editable somehow?
Right now setting up deep/universal links results in a really really long bad looking url sent to user, it would be great if it could be custumised i.e. put under certain button.
There are the three email templates:
Email password verification
password reset
email address change
Password reset, text can be changed please see the image below:
The other two options, the text cannot be changed to prevent spam (as it says if you hover the mouse on the question mark)

PayPal Express Landing Page and SolutionType having no effect

I am using the PayPal Express NVP checkout process and my customer has a requirement for the following:
The user is initially presented with the login screen and not the billing page
The user should not be able to checkout anonymously by credit card
The documentation makes it quite clear that this is possible:
https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
Setting the following options should achieve what I require:
SOLUTIONTYPE=Mark
LANDINGPAGE=Login
This stackoverflow article describes how to achieve the second option as part of the account settings which I have also done.
I've cleared all cache and stored cookies yet it appears these properties are having no effect whatsoever. I am still taken to the billing page and the ability to checkout anonymously remains.
Am I missing something, or is there anything else I need to do to make this work?
There is also a setting in the PayPal profile to turn off the guest checkout option. Go to profile/settings, my selling tools, and then Website preferences. Toward the bottom of the page you will find a setting "PayPal Account Optional" which should be turned off and then save the change at the bottom of the page.
when 'MARK' is passed it overrides the paypal account optional setting. That said, have you tried just passing LANDINGPAGE=LOGIN ? You don't have to pass SOLUTIONTYPE=MARK.
Just had the same issue and came across this post. What solved it for me was an additional property LandingPageSpecified, which must be set to true.

Drupal - heartbeat - Avatar

Im trying to add the avatar into my heartbeat stream, or any additional token for that matter and I dont seem to be able to get it working.
I've edited the default message template "User adds a node, save user activity". Here is what ive setup as the single message
!avatar !username has added !node_type !node_title. !mail
Then in rules ive setup the following variables:
#avatar=[author:heartbeat-user-picture]
#username=[author:user-name-url]
#node_type=[node:type-name]
#node_title=[node:title-link]
#mail=[author:mail]
#types=[node:type-name]
I then use display suite to theme my heartbeat streams. But instead of getting the Avatar to display or the Authors email address I get the actual tokens.
My messsage I get is as following:
!avatar ankh2054 has added the following journal: test and journal entry . !mail
Any help would be appreciated.
I looked further and I found the issue, but still a little puzzled of how I can fix it. The reason is not displaying the picture is because I am using a custom node & content profile for my user profiles & therefore have assigned a custome CCK field for the user avatar. Display suite seems to only pickup the default picture that is assigned via the built in Drupal profile.
Any ideas ? thanks for yuor help so far :)

Resources