Forums / Developer / [ Shop ] dependent products

[ 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

eZ debug

Timing: Jan 31 2025 06:06:47
Script start
Timing: Jan 31 2025 06:06:47
Module start 'content'
Timing: Jan 31 2025 06:06:47
Module end 'content'
Timing: Jan 31 2025 06:06:48
Script end

Main resources:

Total runtime0.2770 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9219180.8438
Module start 'content' 0.00520.0083 768.765693.8672
Module end 'content' 0.01350.2634 862.6328522.7734
Script end 0.2769  1,385.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00331.1795200.0002
Check MTime0.00130.4688200.0001
Mysql Total
Database connection0.00080.272610.0008
Mysqli_queries0.224981.17751410.0016
Looping result0.00140.50191390.0000
Template Total0.263094.910.2630
Template load0.00080.285510.0008
Template processing0.262294.651510.2622
Override
Cache load0.00060.205510.0006
Sytem overhead
Fetch class attribute can translate value0.00120.429710.0012
XML
Image XML parsing0.00020.082710.0002
General
dbfile0.01234.4554200.0006
String conversion0.00000.001530.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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