One login for all: so how get real email address?

  • Posts: 9
  • Thank you received: 0
  • Hikashop Essential
8 years 2 months ago #249718

The site (in development) will have a shop for members only; some of the products will be downloadable files. All members are given the same generic email with a username/password that are changed every 3 months. For the test site user/pass is Friend/friend.

When a member logs in (to access the shop) and then buys something; how can I make them use their real email address rather than the generic one? If I don't get their real address they will not get information about their order.

Ben

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 2 months ago #249725

Hi,

You could create a custom field of the table "order" via the menu Display>Custom fields. It would appear during the checkout so your customers could enter it at that point and it would be stored with the order.
Of course, this is just informational. It won't automatically send notification emails of the order to that email address.
You would have to edit he emails via the menu System>Emails and add such code at the end of the preload area of your order notification emails:
$order->customer->user_email = $order->XXX;
where XXX would be the column name of your custom field.
This would require the Business edition.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
  • Hikashop Essential
8 years 2 months ago #249812

Thank you for the answer.

I have realised that I will need to add an additional custom field for the person's name because the generic Joomla name is Mr. A Friend. It's good to know that your system can cope with this.

It seems that for the complicated way ahead, I can introduce any number of custom fields and transfer that data to the system. I might have to do that but the easier way...

...convince the customer to move away from one generic login and give each of the members their own login. :)

Ben

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 2 months ago #249815

Hi,

Yes. It's much better to let the members have their own login and use the user groups system to restrict the different areas based on the user groups and not just based on whether the users are logged in or not.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum