add to basket - how to pass non integer values e.g. for ordering goods like cables (5,30 meter)

Author Message

frank dege

Thursday 15 July 2004 9:37:09 am

we are want to use ez publish to sell goods like cables. the customer should order e.g. 5,5 meter cable. ez publish converts this to an integer value (5 meter) due to an integer format of the field item_count (table ezproductcollection_item).

has anyone solved this problem? is it possible to use the table ezproductcollection_item_opt for this?

frank

Paul Forsyth

Thursday 15 July 2004 12:11:30 pm

To use ezproductcollection_item_opt you need to use the 'Option' datatype.

paul

--
http://www.visionwt.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 18 2025 14:59:46
Script start
Timing: Jan 18 2025 14:59:46
Module start 'layout'
Timing: Jan 18 2025 14:59:46
Module start 'content'
Timing: Jan 18 2025 14:59:47
Module end 'content'
Timing: Jan 18 2025 14:59:47
Script end

Main resources:

Total runtime1.2643 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.0040 589.5547152.6875
Module start 'layout' 0.00400.0030 742.242239.6172
Module start 'content' 0.00701.2558 781.8594457.8203
Module end 'content' 1.26290.0014 1,239.67978.0156
Script end 1.2642  1,247.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00270.2136160.0002
Check MTime0.00110.0879160.0001
Mysql Total
Database connection0.00050.043410.0005
Mysqli_queries1.230697.3385540.0228
Looping result0.00050.0426520.0000
Template Total1.231797.420.6158
Template load0.00180.144220.0009
Template processing1.229897.274620.6149
Template load and register function0.00020.013010.0002
states
state_id_array0.00170.137510.0017
state_identifier_array0.00300.233920.0015
Override
Cache load0.00150.1171110.0001
Sytem overhead
Fetch class attribute can translate value0.00070.053520.0003
Fetch class attribute name0.00100.082420.0005
XML
Image XML parsing0.00020.015720.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00060.0466100.0001
String conversion0.00000.000440.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.0001 secs