News:

Looking for documentation? Take a look on our wiki

Main Menu

Registration email bug

Started by multistud, March 23, 2023, 17:08:58 PM

Previous topic - Next topic

multistud

Configuration:
Joomla 4.2.9, PHP 8.1.16, VirtueMart 4.0.13 10799, VMuikit X - 10.27, YOOtheme 3.0.27

When a customer wishes to create their account via the Virtuemart form, the creation is done correctly in the backend, but the problem comes from the generated emails.

- The shop receives this email:
----
User account details of {NAME} at {SITENAME}

Good morning,

A new user '{NAME}', username '{USERNAME}', has registered at {SITEURL}.

so no information about the new client

----

- The customer receives this email

----

User account details of {NAME} at {SITENAME}

Hello {NAME},

Thank you for registering on {SITENAME}. Your account is created and must be activated before it can be used.
To activate the account, select the following link or copy/paste it into your browser:
{ACTIVATE}

After its activation, you will be able to login to {SITEURL} using the following username and password you entered when registering:

Username: {USERNAME}

----

therefore no possibility for the customer to activate his account !!!

From the site administration
the customer is registered but it is up to the administrator to validate it and inform him manually by email that his registration is active


------

multistud

Ps:
This bug is present on 4 different websites same configuration and 4 different servers, I also cleaned the FR Joomla 4 language pack by removing all duplicate files with fr-FR.
I also informed JoomlaPro (VmUikit) of this bug which answered me:
We checked with default Virtuemart without our plugin overrides and found that its not worked.
We suspect that the issue was related to virtuemart only.

multistud

PS2:
PS: if you use the native Joomla 4 form, the emails are sent correctly and all the fields:
{NAME}, {SITENAME}, {USERNAME}, {ACTIVATE}, {SITEURL} are populated correctly.

zakis72

Its also happening to us (J4.2.9, VM 4.0.12)

Also here when used the J4 reg form, the relevant fields/tags gets filled correctly.

I'm curious if noone else face this behavior, what could it be!

Lockerbie

Same here!

J 4.2.9 / VM 4.0.12 / PHP 8.0.26 (migrated from J3/VM3 to J4/VM4)

Did anyone find a solution to this?

pimo

For now the only solution I have found is to deactivate the activation of the account. Do not send the link for activation.

multistud

Still no solution for this bug that is losing a lot of customers!!!
What's weird reading the forums is that they had the same problem with "HikaShop" but they fixed it very quickly with the updates...

pinochico

QuoteStill no solution for this bug that is losing a lot of customers!!!

Oh man :))))

Who used activation for shop user????

If customer want something buy, then shop have to don't use email with activation link, shop have to create silent registration.

Pls change your setup
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

multistud

Hello Pinochico,
I don't quite understand your answer, I've been using Virtuemart since Joomla 1.5 on several of my sites and activation for shop users has always worked great.

Language:

Joomla 3: COM_USERS_EMAIL_REGISTERED_NOTIFICATION_TO_ADMIN_BODY - Hello Administrator,
A new user '%s', username '%s', has registered on %s.

Joomla 4: COM_USERS_EMAIL_REGISTERED_NOTIFICATION_TO_ADMIN_BODY - Hello, \n\nA new user '{NAME}', username '{USERNAME}', has registered at {SITEURL}.


The bug appeared since version 4 of joomla + PHP8

Of course customers can still buy without registering as a "Guest".
But professionals prefer to register and receive the activation link for security
(if this function is useless, why does it exist?)

Especially since the registration works perfectly in Backend
the problem comes only on the sending of the email via Virtuemart

Registration is very useful for customer follow-up, the separation of Professional customers and Individuals (because certain products are only reserved for professionals).
And also in Marketing with ACYMailing.

And if I put
Activation of accounts: on "None" instead of "Auto activation"
the administrator always receives
User account details of {NAME} at {SITENAME}
With {NAME} and {SITENAME} tags empty

jenkinhill

@pinochico I agree. Asking a shopper to register is a put-off for some customers, but asking them to confirm registration is a guaranteed sales loser.

There will always be some types of stores that require registration in order to confirm age, for example, but as a general rule it's a bad idea. 

As most VM store owners will know, even if a store is set to require confirmation, someone who has just completed the billing info, but has not yet responded to the confirmation email, can complete any purchase in the cart. They become a "registered" shopper in VM but are not registered in Joomla. This may be an unwanted feature by some shop owners but may save orders from being lost.

I have never turned on the sending of new registrations to admins, so have not seen the bug with J4 that has been reported.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

multistud

Okay, jenkinhill,
so can you explain to me how to disable this in Joomla and/or Virtuemart ?

jenkinhill

A "Solution" suggested for those stores that do require all shoppers to be registered is to force the initial registration through Joomla by turning off the Redirect Joomla to VirtueMart registration in the "VM Framework Loader during Plugin Updates" plugin  (yes, an entirely logical plugin name!).

You can use menus to set VM pages to display only to registered users - ie login to view the store - or edit the checkout pages to tell shoppers to login before starting the checkout process. Those who have not yet registered within VM will be asked for billing address info.

Registering in Joomla first ensures that the new registration to admin email includes the member details.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dudley389

I have a number of Wholesaler websites under construction that requires registration before being able to shop.

The 'solutions' in this thread are only workarounds.  A solution to the errors would be appreciated.

Is the error with Joomla4 or VM.??? 

jenkinhill

Registration works just fine with Joomla 3.10.11, including admin confirmation. The same VM code does not work with Joomla 4.x
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dudley389

Does anyone know when Virtuemart will come up to speed with JOOMLA4.???

Very frustrating.!!!