Orders not deleted

Author Message

Oliver Frommel

Thursday 26 November 2009 5:33:41 am

Hi there,

I am trying to process some orders in the shop, for instance make use of the data_text_2 field and using custom status values. Everything works fine so far, but in the processs I discovered that orders don't really get deleted. That means they don't show up in the admin view of the shop, neither as active nor archived, but they do in order list of the logged-in user and when I list them in a template. How can I get rid of them?

Best

Oliver

Benjamin Selmer

Wednesday 02 December 2009 4:24:49 am

Pressing the delete button in /shop/orderview/xx actually deletes the entry from the ezorder table in the database.

If the order still shows up in the customer order view it is probably a caching problem.

In a business and accounting sense it is not a good thing to delete orders. I would make a custom status called cancelled for the orders that aren't going to be delivered for some reason.

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

Main resources:

Total runtime0.0120 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.0156151.1953
Module start 'layout' 0.00470.0027 739.210936.6328
Module start 'content' 0.00740.0034 775.843890.0313
Module end 'content' 0.01080.0012 865.875029.9922
Script end 0.0120  895.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002218.0892140.0002
Check MTime0.00108.6090140.0001
Mysql Total
Database connection0.00076.049010.0007
Mysqli_queries0.002419.833730.0008
Looping result0.00000.125310.0000
Template Total0.00097.610.0009
Template load0.00075.748610.0007
Template processing0.00021.828010.0002
Override
Cache load0.00053.880810.0005
General
dbfile0.00021.911680.0000
String conversion0.00000.041840.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