Configurable Product

Author Message

Mihai007 Pop

Friday 29 January 2010 2:02:28 am

Hi Everyone.

I was just wondering. Is there an easy way of doing the following using current standard ezpublish setup?

I want to sell aluminium windows. Thus I need to let my client click on a top-hung window product and he/she can then read info about the product. Then on the side the client would have options such as width, height, number of vents and then colour.

Now, when the client chooses the width and the height only a certain number of vents can be shown based on the width and height chosen. For example: a small window of w600 x h600 can only have one vent, but a choice of w2400 x h1500 can have 2 or 4 vents. Based on these selections a different price and an image is shown to the client.

Can this be achieved? I was looking at ezcategoryselection datatype, but it seems to have stopped working in ver.4.2...

Has anyone tried and perhaps managed to make use of such a scenario?

Any help in the right direction would help...

Thank you for all the great work so far to the eZ team and the community.

Mihai

Bertrand Dunogier

Friday 29 January 2010 3:31:01 am

Try these:

  • http://ez.no/doc/ez_publish/technical_manual/4_x/reference/datatypes/range_option
  • http://ez.no/doc/ez_publish/technical_manual/4_x/reference/datatypes/option
  • http://ez.no/doc/ez_publish/technical_manual/4_x/reference/datatypes/multi_option2

They will let you allow your customers to choose options, and will automatically add the matching price for each option.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

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 10:41:43
Script start
Timing: Jan 18 2025 10:41:43
Module start 'layout'
Timing: Jan 18 2025 10:41:43
Module start 'content'
Timing: Jan 18 2025 10:41:44
Module end 'content'
Timing: Jan 18 2025 10:41:44
Script end

Main resources:

Total runtime0.6009 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.0063 587.7891152.6094
Module start 'layout' 0.00630.0035 740.398439.4297
Module start 'content' 0.00980.5893 779.8281526.4688
Module end 'content' 0.59920.0016 1,306.29698.1875
Script end 0.6008  1,314.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5707160.0002
Check MTime0.00150.2419160.0001
Mysql Total
Database connection0.00080.139510.0008
Mysqli_queries0.550991.6875540.0102
Looping result0.00060.0994520.0000
Template Total0.566494.320.2832
Template load0.00190.311920.0009
Template processing0.564593.941720.2822
Template load and register function0.00020.025310.0002
states
state_id_array0.00100.165410.0010
state_identifier_array0.00080.134520.0004
Override
Cache load0.00150.2572200.0001
Sytem overhead
Fetch class attribute can translate value0.00090.152320.0005
Fetch class attribute name0.00150.255030.0005
XML
Image XML parsing0.00080.133520.0004
class_abstraction
Instantiating content class attribute0.00000.001830.0000
General
dbfile0.00210.3550160.0001
String conversion0.00000.001340.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs