Deleting product items breaks orderviews list

Author Message

Jorge estévez

Saturday 20 September 2008 2:32:29 pm

Using :: ez 3.10

Just making the last arrangements of a site that has products and just stumbled upon something. Once customers make orders they are saved as offers with a status.

Imagine you delete a product that is no longer going to be sold... every offer that has that product will not display it just because it's no longer there... Opps...

There should be some kind of warning once you decide to delete a product in the admin site... because offers will break their product list...

Maybe there is some kind of solution...

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

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

Main resources:

Total runtime0.0234 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.0091 588.0469152.6406
Module start 'layout' 0.00910.0042 740.687539.4766
Module start 'content' 0.01330.0074 780.164185.1641
Module end 'content' 0.02070.0023 865.328130.3047
Script end 0.0230  895.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002812.1216140.0002
Check MTime0.00125.2158140.0001
Mysql Total
Database connection0.00145.874910.0014
Mysqli_queries0.004217.766230.0014
Looping result0.00000.080510.0000
Template Total0.00198.110.0019
Template load0.00114.831710.0011
Template processing0.00083.273110.0008
Override
Cache load0.00083.477910.0008
General
dbfile0.003012.967180.0004
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