[ Shop ] dependent products

Author Message

Thomas Keller

Monday 04 September 2006 1:57:55 am

Hi all!

Just finished my first site with eZ Publish - thanks to a lot of forum posts from you guys it worked pretty well :-) So thank you all!

Still, there's a few questions left - most importantly this one about the eZ Shop Module:

Issue:
- The client's shop offers products which demand a dependent product ( sub product, related product ) which can not be an option. Example: Internet Connection monthly subscription = product, setup fee = dependent product.

- Is it possible to put these two products (product and dependent product) in the basket at the same time?
- Is it possible to put the dependent product in the basket using a workflow?
- Does anyone have any other suggestions?

Thanks

Thomas

Norman Leutner

Monday 04 September 2006 2:06:05 am

Hi Thomas,

I would create a workflow which adds the the related products or sub products to the basket.

Take a look at the http://ez.no/community/contribs/workflow/shippingcosts contribution I made,
this workflow adds a shipping costs item to the basket.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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 00:32:25
Script start
Timing: Jan 19 2025 00:32:25
Module start 'layout'
Timing: Jan 19 2025 00:32:25
Module start 'content'
Timing: Jan 19 2025 00:32:26
Module end 'content'
Timing: Jan 19 2025 00:32:26
Script end

Main resources:

Total runtime0.7442 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.0056 587.9063152.6250
Module start 'layout' 0.00560.0033 740.531339.4453
Module start 'content' 0.00890.7338 779.9766524.7422
Module end 'content' 0.74270.0015 1,304.71888.1641
Script end 0.7442  1,312.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4323160.0002
Check MTime0.00130.1773160.0001
Mysql Total
Database connection0.00060.087110.0006
Mysqli_queries0.691392.8887540.0128
Looping result0.00100.1311520.0000
Template Total0.711095.520.3555
Template load0.00210.278420.0010
Template processing0.708995.264220.3545
Template load and register function0.00010.016810.0001
states
state_id_array0.00090.127310.0009
state_identifier_array0.00190.253420.0009
Override
Cache load0.00190.2603190.0001
Sytem overhead
Fetch class attribute can translate value0.00090.115720.0004
Fetch class attribute name0.00180.236630.0006
XML
Image XML parsing0.00150.207320.0008
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00170.2256170.0001
String conversion0.00000.001240.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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.0002 secs