account and billing info

Author Message

Daniela Moreno

Tuesday 22 March 2005 3:23:04 pm

hi, im trying to integrate to the account information template (the one u get after doing checkout) fields for shipping information. and i want to get this info on order view, in the admin store and on the email sent after an order is placed.
does anyone has an idea of how to achieve this?

Bård Farstad

Wednesday 23 March 2005 1:57:36 am

Daniela,
the account information is handled by something called shop account handlers. These are located under:
kernel/classes/shopaccounthandlers/

You can make your own handler based on one of the existing ones. It is a plugin interface.

--bård

Documentation: http://ez.no/doc

Daniela Moreno

Thursday 31 March 2005 12:55:55 pm

oh, great, thanx

i got it!

Iain MacLean

Tuesday 24 May 2005 3:49:55 am

Hi there

Like Danliela, I want to collect more information using a modified userregister.tpl template at the checkout stage. I have modifed userregister.tpl, but the info collected isn't available for me to email or to store in the customer information in the admin store.

Should I put the modified ezusershopaccounthandler.php file into an extension, rather than modifying the version in the kernel? I also want to modify userregister.php, as we don't insist that customers provide the ZIP or postal code. Should the modifed version of that file go into the extension as well?

Cheers
Iain

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 22:31:23
Script start
Timing: Jan 18 2025 22:31:23
Module start 'layout'
Timing: Jan 18 2025 22:31:23
Module start 'content'
Timing: Jan 18 2025 22:31:24
Module end 'content'
Timing: Jan 18 2025 22:31:24
Script end

Main resources:

Total runtime0.6983 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.3438152.6250
Module start 'layout' 0.00470.0026 741.968839.4453
Module start 'content' 0.00730.6896 781.4141582.6953
Module end 'content' 0.69690.0014 1,364.109412.4766
Script end 0.6983  1,376.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4477160.0002
Check MTime0.00130.1841160.0001
Mysql Total
Database connection0.00070.097110.0007
Mysqli_queries0.643692.1668620.0104
Looping result0.00080.1107600.0000
Template Total0.665595.320.3327
Template load0.00210.301920.0011
Template processing0.663494.993620.3317
Template load and register function0.00010.013210.0001
states
state_id_array0.00090.135010.0009
state_identifier_array0.00160.229820.0008
Override
Cache load0.00170.2503230.0001
Sytem overhead
Fetch class attribute can translate value0.00050.068730.0002
Fetch class attribute name0.00160.233160.0003
XML
Image XML parsing0.00110.157930.0004
class_abstraction
Instantiating content class attribute0.00000.001870.0000
General
dbfile0.00140.2049230.0001
String conversion0.00000.000740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs