New users on eZ sites

Author Message

Christian Johansen

Thursday 01 December 2005 12:50:56 am

I've set up a shop and learnt the hard way that a user MUST be logged in in order to finish an order. I've accepted that and now I want the process to be alittle smoother. Currently I have:

Shop items
Go to basket
Checkout
--- Login
Paypal
Done

The login part is one of two: either the user exists and logs in, no problem. If the user needs to register, we get this:

Shop items
Go to basket
Checkout
Register new account
Receive email
Activate account
Go to basket
Checkout
Paypal
Done

Which, honestly, is way too complicated to complete a simple order. Can I somehow cut down on the number of steps in the user registration? I would like it to go like this:

Shop items
Go to basket
Checkout
Register new account
Paypal
Done

Ɓukasz Serwatka

Thursday 01 December 2005 12:58:19 am

Shop items
Go to basket
Checkout
Register new account
Paypal
Done

You could use regular eZ user class, modified of course to your needs, and disable user registration confirmation then you will make it a little simple.

in shopaccount.ini.append.php

[AccountSettings]
Handler=ezdefault

in site.ini.append.php

[UserSettings]
VerifyUserEmail=disabled

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

William Steenbergh

Monday 09 January 2006 6:31:13 am

But what should those .ini settings be if you do want your users to recieve an email confirmation, but do not want them to activate their accounts by following a link from the email?

Is this even possible? Or do users always need to activate before they can use their account (after signing up?)

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 18 2025 19:33:32
Script start
Timing: Jan 18 2025 19:33:32
Module start 'layout'
Timing: Jan 18 2025 19:33:32
Module start 'content'
Timing: Jan 18 2025 19:33:33
Module end 'content'
Timing: Jan 18 2025 19:33:33
Script end

Main resources:

Total runtime0.7149 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.0469152.6250
Module start 'layout' 0.00480.0031 741.671939.4609
Module start 'content' 0.00790.7055 781.1328575.2422
Module end 'content' 0.71350.0014 1,356.375012.1719
Script end 0.7149  1,368.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4315160.0002
Check MTime0.00130.1825160.0001
Mysql Total
Database connection0.00070.103210.0007
Mysqli_queries0.667593.3687590.0113
Looping result0.00050.0734570.0000
Template Total0.688196.220.3440
Template load0.00210.297520.0011
Template processing0.685995.945320.3430
Template load and register function0.00010.020710.0001
states
state_id_array0.00080.107910.0008
state_identifier_array0.00120.165320.0006
Override
Cache load0.00180.2470390.0000
Sytem overhead
Fetch class attribute can translate value0.00050.069030.0002
Fetch class attribute name0.00130.185640.0003
XML
Image XML parsing0.00070.095830.0002
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00070.1016180.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0003 secs