Store more than one item of a product?

Author Message

Anja Lundin

Tuesday 17 May 2005 5:22:16 am

Hi,
We use eZ publish 3.5.1 and we are planning to set up a shop with the possiblity to store more than one item of a product before sending the form. Very much like the functionallity in shop/basket where you kan change the amount of a product.

After sending the form the products will be shown in the basket (and in the toolbox) and will not redirect to shop/basket immediatly. By doing this the customer can shop without disruptions. The basket will only be shown when the customer needs to do changes.

I hope I don't have to do changes in the basket.php file. More than one site use the same installation of eZ publish and other sites need the existing shop as it is today. And also, it can make it difficult if we need to upgrade the version of eZ publish.

Do you have any suggestions where to start modify the shop? Have this (or at least some of it) been done before?

Thanks in advance!

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

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 04:18:29
Script start
Timing: Jan 19 2025 04:18:29
Module start 'layout'
Timing: Jan 19 2025 04:18:29
Module start 'content'
Timing: Jan 19 2025 04:18:30
Module end 'content'
Timing: Jan 19 2025 04:18:30
Script end

Main resources:

Total runtime0.9358 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.2578152.6250
Module start 'layout' 0.00620.0035 741.882839.4453
Module start 'content' 0.00960.9247 781.3281466.0234
Module end 'content' 0.93440.0014 1,247.35168.1563
Script end 0.9358  1,255.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4134160.0002
Check MTime0.00130.1401160.0001
Mysql Total
Database connection0.00080.082510.0008
Mysqli_queries0.891895.3019460.0194
Looping result0.00040.0469440.0000
Template Total0.893595.520.4468
Template load0.00290.311020.0015
Template processing0.890695.173220.4453
Template load and register function0.00010.011410.0001
states
state_id_array0.00250.263610.0025
state_identifier_array0.00260.277620.0013
Override
Cache load0.00240.2568100.0002
Sytem overhead
Fetch class attribute can translate value0.00120.130110.0012
Fetch class attribute name0.00110.120220.0006
XML
Image XML parsing0.00050.056210.0005
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00160.1686160.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs