SHOP User: how to make a shop user a "real" user

Author Message

Peter Schnuerer

Thursday 03 March 2005 12:33:12 am

Hi!

When buying somthing in the shop, the user has to give some personal data.

I'd like to register a new shop user automatically in a user-group called "shop_users" or something like that.

How ist this done?

Thank you!
Peter

Peter Schnuerer

Thursday 03 March 2005 2:43:41 am

I found a solution (thanx to marcel):
in edit /settings/shopaccount.ini

[AccountSettings]
Handler=ezdefault

Now the User has to register as "real" user before sending his Order!

Bård Farstad

Thursday 03 March 2005 3:59:02 am

Great that you found a solution. You can also look into using the default shop account, but disable shop/buy permissions on the anonymous user. That way the user needs to register before he can do the shopping.

The shop handler will also then remember the users address etc the next time he tries to shop.

--bård

Documentation: http://ez.no/doc

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 09:47:11
Script start
Timing: Jan 19 2025 09:47:11
Module start 'layout'
Timing: Jan 19 2025 09:47:11
Module start 'content'
Timing: Jan 19 2025 09:47:11
Module end 'content'
Timing: Jan 19 2025 09:47:11
Script end

Main resources:

Total runtime0.0367 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0102 590.4219152.6406
Module start 'layout' 0.01020.0053 743.062539.4766
Module start 'content' 0.01550.0173 782.539189.3672
Module end 'content' 0.03280.0039 871.906334.3047
Script end 0.0367  906.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00308.1818140.0002
Check MTime0.00143.6946140.0001
Mysql Total
Database connection0.00226.079410.0022
Mysqli_queries0.005615.200530.0019
Looping result0.00000.070810.0000
Template Total0.00308.110.0030
Template load0.00113.052010.0011
Template processing0.00195.077210.0019
Override
Cache load0.00082.071310.0008
General
dbfile0.006818.426580.0008
String conversion0.00000.029940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs