Reconstructing eZOption datatype

Author Message

H-Works Agency

Friday 18 May 2007 5:56:42 am

Hi all,

After working a lot with the ezoption datatype i think its too rigid to cover product options problematics.

In fact its attributes (value, additional_price), hard coded in kernel functions, poses a lot of problem when real cases appears.

I think that attributes should be manageable in a way or another, without having to code a new datatype. Maybe through ini settings (in datatype.ini) or directly inside ezOption edit view.

Even if each attribute datatype is for now text fields only.

This would solve a lot of issues by allowing administrators to set each option's attributes.

For example : [quantity, reference, price] or [reference, quantity, size]...etc

EZP is Great

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 11:14:28
Script start
Timing: Jan 18 2025 11:14:28
Module start 'layout'
Timing: Jan 18 2025 11:14:28
Module start 'content'
Timing: Jan 18 2025 11:14:28
Module end 'content'
Timing: Jan 18 2025 11:14:28
Script end

Main resources:

Total runtime0.0132 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.9219152.6250
Module start 'layout' 0.00580.0026 740.546939.4609
Module start 'content' 0.00830.0032 780.007885.2422
Module end 'content' 0.01150.0017 865.250030.3047
Script end 0.0132  895.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002216.7782140.0002
Check MTime0.00107.3678140.0001
Mysql Total
Database connection0.00053.745110.0005
Mysqli_queries0.003123.316430.0010
Looping result0.00000.127810.0000
Template Total0.001410.610.0014
Template load0.00075.607710.0007
Template processing0.00075.003110.0007
Override
Cache load0.00054.000610.0005
General
dbfile0.00021.711580.0000
String conversion0.00000.059440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs