number order

Author Message

vincenzo dima

Friday 08 June 2007 10:53:28 pm

Hi all,
I'm developping a e-commerce site and I need to add a prefix to orderID number to test my payment gateway. My new number order should be like "prefix_234". Thanks a lot for your help.

Vincenzo

Dirk Bensel

Tuesday 21 December 2010 5:26:58 am

Quick and dirty: Edit mysql database ezorder -> order_nr (numbers only)

Expl.: 20101000

Next Order Nr. 20101001

---
ROCK ON
Dirk

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

Main resources:

Total runtime0.6552 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.7813152.6094
Module start 'layout' 0.00600.0033 740.390639.3984
Module start 'content' 0.00930.6444 779.7891520.0156
Module end 'content' 0.65370.0015 1,299.80478.2031
Script end 0.6552  1,308.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5053160.0002
Check MTime0.00130.1989160.0001
Mysql Total
Database connection0.00070.107210.0007
Mysqli_queries0.613393.5958540.0114
Looping result0.00060.0883520.0000
Template Total0.621094.820.3105
Template load0.00230.346320.0011
Template processing0.618794.428720.3094
Template load and register function0.00020.029410.0002
states
state_id_array0.00110.169410.0011
state_identifier_array0.00140.211420.0007
Override
Cache load0.00180.2780110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.080020.0003
Fetch class attribute name0.00110.163530.0004
XML
Image XML parsing0.00080.121820.0004
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00140.2162170.0001
String conversion0.00000.001640.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs