Need to add n delivery and billing addresses to shopuser

Author Message

Kai Rittmeyer

Tuesday 17 January 2006 11:45:57 am

Hi.

I'm new to eZ Publish and can't find a solution to a problem.

I need to add n billing and/or delivery addresses to the users of an eZ Publish 3.7 webshop. They should be able maintain their own addresses and choose from them during the checkout process.

eZ is so huge to get started with - so maybe you could throw me a hint where to begin.

I thought of adding a class 'address' and extend the user class with two 'Object relations' fields 'delivery_addresses' and 'billing_addresses' and then write an extension with the needed add, edit and delete functionality - but maybe there is an easier way to archive this...

Thanks a lot in advance...

Otto Lederle

Thursday 09 November 2006 5:49:58 am

Hi.

Has anybody a solution for this problem in the meantime? Actually, I would do it the same way as proposed above, but I am not sure that is the best solution.

Any answers are appreciated
Otto

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 16:27:41
Script start
Timing: Jan 18 2025 16:27:42
Module start 'layout'
Timing: Jan 18 2025 16:27:42
Module start 'content'
Timing: Jan 18 2025 16:27:42
Module end 'content'
Timing: Jan 18 2025 16:27:42
Script end

Main resources:

Total runtime0.8658 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.1797152.6563
Module start 'layout' 0.00720.0037 740.835939.5078
Module start 'content' 0.01090.8536 780.3438457.7969
Module end 'content' 0.86450.0012 1,238.14068.0938
Script end 0.8658  1,246.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4166160.0002
Check MTime0.00160.1902160.0001
Mysql Total
Database connection0.00120.141510.0012
Mysqli_queries0.822094.9444540.0152
Looping result0.00040.0515520.0000
Template Total0.831796.120.4159
Template load0.00270.308520.0013
Template processing0.829195.756620.4145
Template load and register function0.00020.021110.0002
states
state_id_array0.00110.127910.0011
state_identifier_array0.00110.132120.0006
Override
Cache load0.00210.2459140.0002
Sytem overhead
Fetch class attribute can translate value0.00110.128420.0006
Fetch class attribute name0.00160.183120.0008
XML
Image XML parsing0.00040.040920.0002
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00050.0599100.0001
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs