Example of Shopping Cart

Author Message

Milo Ice

Wednesday 31 January 2007 1:29:21 am

Good day,

I am new to eZ publish, and I've no idea how the shopping cart feature in eZ publish works, because the "add to cart" feature is disabled in the demo.

Anyone there has any shop built from eZ Publish?

Marius Eliassen

Wednesday 31 January 2007 3:42:24 am

Well we have our own right here on ez.no, if you click store on the top menu

Otherwise the shop works with all classes that contain a "price" attribute.
There should be code in the design/standard/templates/node/view/full.tpl for add to basket, and how basket is used there.

Carlos Revillo

Wednesday 31 January 2007 4:53:22 am

hello. please take a look at www.acuareladiscos.com. I used ez for all the site, including the shop section.
Have a look at http://www.acuareladiscos.com/index.php?/es/catalogo
or english version http://www.acuareladiscos.com/index.php?/en/catalogo

I think ez.shop is good for these kind of sites. I only had to custom the templates and a little changes to the code (basically for adding shipping cost and son on).

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 22:32:26
Script start
Timing: Jan 18 2025 22:32:26
Module start 'layout'
Timing: Jan 18 2025 22:32:26
Module start 'content'
Timing: Jan 18 2025 22:32:27
Module end 'content'
Timing: Jan 18 2025 22:32:27
Script end

Main resources:

Total runtime0.8986 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.9063152.6250
Module start 'layout' 0.00620.0036 740.531339.4297
Module start 'content' 0.00980.8871 779.9609502.0781
Module end 'content' 0.89690.0016 1,282.03918.1797
Script end 0.8985  1,290.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4074160.0002
Check MTime0.00160.1815160.0001
Mysql Total
Database connection0.00120.130110.0012
Mysqli_queries0.853694.9961590.0145
Looping result0.00080.0858570.0000
Template Total0.863996.120.4320
Template load0.00240.266820.0012
Template processing0.861595.873420.4307
Template load and register function0.00020.021910.0002
states
state_id_array0.00150.162410.0015
state_identifier_array0.00110.118620.0005
Override
Cache load0.00190.2143150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.076430.0002
Fetch class attribute name0.00250.275430.0008
XML
Image XML parsing0.00030.036830.0001
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00090.1033100.0001
String conversion0.00000.001040.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs