Shop: How to send an order by email?

Author Message

Jorge estévez

Wednesday 18 June 2008 9:13:23 pm

Hi,

I would once an order has been made by an user get a list or the products selected in the order and send it by e-mail.

Is it possible?

ez 3.10

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

Pascal Specht

Thursday 19 June 2008 5:27:13 am

Hi Jorge,

The sendOrderEmails function in the eZShopOperationCollection will help you. It uses the ConfirmOrderHandler to actually send the mails. You can even declare a custom ConfirmOrderHandler, search for it on the forum.

That's at least a good start to digg.

</Pascal>

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

Main resources:

Total runtime0.0147 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.0059 588.0156152.6250
Module start 'layout' 0.00590.0028 740.640639.4453
Module start 'content' 0.00870.0042 780.085989.2422
Module end 'content' 0.01290.0018 869.328130.3047
Script end 0.0147  899.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.0967140.0002
Check MTime0.00107.0376140.0001
Mysql Total
Database connection0.00085.314710.0008
Mysqli_queries0.002516.945230.0008
Looping result0.00000.102210.0000
Template Total0.00149.610.0014
Template load0.00074.763110.0007
Template processing0.00074.823210.0007
Override
Cache load0.00053.197610.0005
General
dbfile0.00032.175580.0000
String conversion0.00000.055240.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