Forums / Developer / Partial delivery in the shop

Partial delivery in the shop

Author Message

Piotr Switkowski

Sunday 26 November 2006 10:23:27 am

I am just working of the e-shop for bookstore. I realized that some orders cannot be fully delivered: eq. one of ordered books is not in store. As clients might order books that are announced but not yet published, this situation is quite common. In such situation there should be mechanism to allow admin to edit the order, eq. and split it to 2 orders or move some items to wishlist. However, in ezPublish orders could hardly be edited.

Do you have any suggestions how to handle such situation. Or what is the best way to customise ezPublish?

Pascal Specht

Thursday 05 July 2007 3:29:07 am

Hi Piotr,

unfortunately, I've no answer to your request, but was wondering if by the time you did solve your problem, and how?

I'm typically searching for a similar solution: customers may want to "pre-buy" (reserve) some products that are announced but not yet available: The shop owner should see these orders in the back-office and keep the orders on hold until they are possible.

Have you used the existing shopping mechanisms and some overrides, or did you have to modify the source code to get to your objective?

Thanks for any suggestions,
Pascal

eZ debug

Timing: Jan 18 2025 10:35:33
Script start
Timing: Jan 18 2025 10:35:33
Module start 'content'
Timing: Jan 18 2025 10:35:33
Module end 'content'
Timing: Jan 18 2025 10:35:33
Script end

Main resources:

Total runtime0.8314 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 587.7109180.8359
Module start 'content' 0.00770.8193 768.5469497.1797
Module end 'content' 0.82700.0042 1,265.726642.2656
Script end 0.8313  1,307.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3682140.0002
Check MTime0.00130.1564140.0001
Mysql Total
Database connection0.00120.147010.0012
Mysqli_queries0.790095.0312550.0144
Looping result0.00070.0871530.0000
Template Total0.800096.220.4000
Template load0.00250.295420.0012
Template processing0.797595.930820.3988
Template load and register function0.00030.030410.0003
states
state_id_array0.00200.237010.0020
state_identifier_array0.00180.221020.0009
Override
Cache load0.00200.2381140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.089820.0004
Fetch class attribute name0.00100.125530.0003
XML
Image XML parsing0.00070.083120.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00100.1256180.0001
String conversion0.00000.000630.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs