Integrate products and a external shopping cart into EZ

Author Message

Tore Skobba

Saturday 20 March 2004 2:25:19 am

Hi

I am wondering about making an webshop. However, the webshop requires me fetch products from an external SQL database. Viewing the docs it seems as that should not be a to large problem (http://www.ez.no/ez_publish/documentation/development/extensions/module/module_tutorial_part_1#msg47173). But I also need to place the orders (and shopping cart) within another external database. My initial though was to make a module which placed an "Buy" button on all products, and had an fetch function and functionality for viewing and editing the shopping cart while shopping. However, this would require me to integrate with EZ content action i belive? And I have seen few docs on that.

So I am just wondering if anyone has done anything similar and whereever it seems as a feasible road to go? Or should I look into integrating with the database by using SOAP?

Hope someone has some feedback on this

Cheers
Tore

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 31 2025 06:11:49
Script start
Timing: Jan 31 2025 06:11:49
Module start 'layout'
Timing: Jan 31 2025 06:11:49
Module start 'content'
Timing: Jan 31 2025 06:11:49
Module end 'content'
Timing: Jan 31 2025 06:11:49
Script end

Main resources:

Total runtime0.0117 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.0047 588.3516151.2266
Module start 'layout' 0.00470.0021 739.578136.6797
Module start 'content' 0.00680.0036 776.257886.0469
Module end 'content' 0.01040.0012 862.304729.9922
Script end 0.0117  892.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002319.4664140.0002
Check MTime0.001210.1350140.0001
Mysql Total
Database connection0.00076.373910.0007
Mysqli_queries0.002118.077430.0007
Looping result0.00000.093810.0000
Template Total0.00098.110.0009
Template load0.00076.082210.0007
Template processing0.00021.941710.0002
Override
Cache load0.00054.269010.0005
General
dbfile0.00021.615480.0000
String conversion0.00000.055140.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