Product customization with text entry field

Author Message

Mark Marsiglio

Friday 10 June 2005 11:28:37 am

One of the product options I would like to offer on a site is an option to register a spouse for an event. If they do register a spouse, I need to be able to collect the name of that spouse when adding that product to the basket.

The multi-option works really good for all of the other options, but will not help me here. Has any one done anything like this? I am hesitant to build it into the class because it will not be part of every product. Is there a way to customize a product with a text field that can collect information on a product order in a way similar to how multioption allows options to be added to a product?

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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

Main resources:

Total runtime0.7586 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.3203152.6406
Module start 'layout' 0.00520.0031 741.960939.4766
Module start 'content' 0.00830.7486 781.4375463.7344
Module end 'content' 0.75690.0017 1,245.17198.1250
Script end 0.7586  1,253.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4370160.0002
Check MTime0.00130.1730160.0001
Mysql Total
Database connection0.00100.126310.0010
Mysqli_queries0.712693.9363460.0155
Looping result0.00050.0628440.0000
Template Total0.719894.920.3599
Template load0.00280.363020.0014
Template processing0.717194.519420.3585
Template load and register function0.00010.018910.0001
states
state_id_array0.00170.229210.0017
state_identifier_array0.00210.275320.0010
Override
Cache load0.00160.216960.0003
Sytem overhead
Fetch class attribute can translate value0.00110.140710.0011
Fetch class attribute name0.00090.119520.0005
XML
Image XML parsing0.00050.065510.0005
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00080.1005150.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs