Product with options / information collecting

Author Message

Felix Laate

Friday 09 September 2005 5:57:11 am

Hi all!

Still doing my first webshop, and now I'm struggling (again..)

I want to make a product like e.g. this:

-> Box
--> choose color
---> choose amongst texts to print on top of or even write a free-text one.
----> upload image to be printed on box

I realise that I can make many similar products like e.g. "Blue box with text 'open me'". But this still doesn't solve the issue withe the free-text, let alone if the customer is suppose to be able to upload an image to be printed on the box.

Any ideas anyone?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Sunday 11 September 2005 2:26:37 pm

Hi again!

I try again, as I really need to get this working.

Is it possible to collect arbitrary information when a user confirm an order.

I made a class "product" which has the usual product-attributes and in addition has an attribute called "mytext". This is of type text_line and is set as information collector.

But I don't get any thing collected. The order is ok, but the extra info is lost.

Any help might make my day..

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Tuesday 13 September 2005 1:17:19 am

Hi again..

I got it. At least somehow. Read about the webshop-related datatypes (http://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/webshop).. I know - should have found it earlier..

The logo-uploading and "free text" I did in seperate operations.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

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

Main resources:

Total runtime1.1686 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.2891152.6406
Module start 'layout' 0.00510.0032 741.929739.4766
Module start 'content' 0.00831.1587 781.4063497.0781
Module end 'content' 1.16700.0015 1,278.484412.1250
Script end 1.1685  1,290.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2790160.0002
Check MTime0.00140.1167160.0001
Mysql Total
Database connection0.00070.057510.0007
Mysqli_queries1.117895.6584550.0203
Looping result0.00070.0581530.0000
Template Total1.130596.720.5652
Template load0.00180.152220.0009
Template processing1.128796.587520.5643
Template load and register function0.00010.008810.0001
states
state_id_array0.00160.136110.0016
state_identifier_array0.00250.215820.0013
Override
Cache load0.00160.1386290.0001
Sytem overhead
Fetch class attribute can translate value0.00100.089010.0010
Fetch class attribute name0.00150.126540.0004
XML
Image XML parsing0.00050.042810.0005
class_abstraction
Instantiating content class attribute0.00010.004960.0000
General
dbfile0.00070.0639160.0000
String conversion0.00000.000540.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs