Forums / Developer / Product specs

Product specs

Author Message

Eirik Alfstad Johansen

Wednesday 08 October 2003 6:32:43 am

Hi,

Many products need further specification besides amount when ordered. An example is a sweater where the buyer also needs to specify size and color. Also, some of these settings might affect the final price.

So, how does one provide additional settings for a product? Is it a datatype, or what?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Sam Wong

Sunday 12 October 2003 9:52:39 am

I asked similar question and people told me I should be using matrix datatype.

Eirik Alfstad Johansen

Monday 13 October 2003 1:06:48 am

Hi Sam,

Thanks for the tip. Have you tried it out? Do you know anything about the matrix datatype. I did an extensive search for it here at the ez.no site yesterday, but found nothing.

Thanks in advance !

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Alex Jones

Monday 13 October 2003 6:49:33 am

I don't think there is a way for the Matrix datatype to affect the item added to the shopping cart. Though I hope I am wrong in that belief as it would make my life much easier.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Eirik Alfstad Johansen

Wednesday 15 October 2003 5:47:33 am

Then what do I need to do? Considering the seemingly endless possibilites of eZP, this should be fairly easy to accomplish.

Sincerley,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Alex Jones

Wednesday 15 October 2003 6:41:17 am

Wish I had a clean answer for you Eirik. I had to build ten different extended product forms to account for the different combinations of our products. This was rather annoying to say the least. I spent a lot of time trying to find a different solution, but had no luck.

I truly hope eZ systems increases the flexibility of the shopping cart to account for these variations. Right now the e-commerce functionality is far too focused on items that do not have variations like books, software and CDs.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

eZ debug

Timing: Jan 18 2025 14:55:02
Script start
Timing: Jan 18 2025 14:55:02
Module start 'content'
Timing: Jan 18 2025 14:55:03
Module end 'content'
Timing: Jan 18 2025 14:55:03
Script end

Main resources:

Total runtime1.4856 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0104 588.7969180.8516
Module start 'content' 0.01041.2296 769.6484609.9453
Module end 'content' 1.24010.2454 1,379.5938337.0859
Script end 1.4855  1,716.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2572210.0002
Check MTime0.00140.0946210.0001
Mysql Total
Database connection0.00040.029410.0004
Mysqli_queries1.385493.25392050.0068
Looping result0.00270.18382030.0000
Template Total1.442997.120.7215
Template load0.00210.140320.0010
Template processing1.440896.988120.7204
Template load and register function0.00010.005110.0001
states
state_id_array0.00080.056910.0008
state_identifier_array0.00140.093820.0007
Override
Cache load0.00200.1341340.0001
Sytem overhead
Fetch class attribute can translate value0.00130.090140.0003
Fetch class attribute name0.00200.135280.0003
XML
Image XML parsing0.00150.097740.0004
class_abstraction
Instantiating content class attribute0.00000.0018110.0000
General
dbfile0.01400.9421330.0004
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs