problem with orderemail and options

Author Message

Martin Ulrich

Thursday 04 November 2004 5:31:22 am

I use the predefined option_list with my product class. Everything works fine. Choosen
options were shown when basket, confirmorder and orderview is called.

But in the orderemail, EZ is sending, when order has passed, there are no options visible.

Of course I had to modify the /shop/orderemail.tpl and add a section, which fetch the choosen options, but seems to difficult for a simple man like me ;-)

sorry for english, sorry for everythingelse

Maybe someone out there give me a peace of code.

*greetings and happy work*

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Martin Ulrich

Thursday 04 November 2004 12:34:00 pm

sorry, make a mistake,
code from optionslist of coruse works in orderemail.tpl
write in orderemail.tpl :

{section var=product_item loop=$order.product_items sequence=array(bglight,bgdark)}
{$product_item.object_name} 
{section show=$product_item.item.item_object.option_list}
{section var=option_item loop=$product_item.item_object.option_list}
 {$option_item.name|wash} {$option_item.value}
Preis: {$product_item.price_inc_vat|l10n(currency)} für {$product_item.item_count} Person(en) 
Zwischensumme = {$product_item.total_price_inc_vat|l10n(currency)}
{/section}
{/section}
{/section}

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

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 31 2025 08:16:41
Script start
Timing: Jan 31 2025 08:16:41
Module start 'layout'
Timing: Jan 31 2025 08:16:41
Module start 'content'
Timing: Jan 31 2025 08:16:42
Module end 'content'
Timing: Jan 31 2025 08:16:42
Script end

Main resources:

Total runtime1.1110 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.2500151.2266
Module start 'layout' 0.00530.0025 739.476636.6641
Module start 'content' 0.00791.1021 776.1406849.6563
Module end 'content' 1.11000.0009 1,625.79698.0000
Script end 1.1109  1,633.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2791160.0002
Check MTime0.00130.1163160.0001
Mysql Total
Database connection0.00070.065210.0007
Mysqli_queries1.068896.2077520.0206
Looping result0.00040.0358500.0000
Template Total1.070196.320.5351
Template load0.00220.201120.0011
Template processing1.067996.122220.5339
Template load and register function0.00120.110110.0012
states
state_id_array0.00210.190710.0021
state_identifier_array0.00110.098320.0005
Override
Cache load0.00180.1619150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.044010.0005
Fetch class attribute name0.00200.184120.0010
XML
Image XML parsing0.00010.008110.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00070.0637100.0001
String conversion0.00000.000840.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
2content/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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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