Customer's shop orders

Author Message

Aurore Hublé

Friday 05 January 2007 6:04:25 am

Hello all,

I'm now on the 3.9. Great release !

I want to show to customers theirs own orders, but they have an access problem. As I see in another topic, I add the right shop/administrate to them, it's work but they have too rights ! If they click on the link in the path bar or go to www.mysite.com/shop/orderlist they can view information about the others customers...

Anybody have a solution ?

kracker (the)

Friday 05 January 2007 8:41:37 am

Neat subject. Personal favorite.

I'd also be interested in hearing more about what others think on this one. I've heard the request several times recently. Though I seem to remember it being possible to implement already fairly simply.

<i>http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/visualization/shop_account_view_gui
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_fetch_functions
</i>

Missing docs?
<i>http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/shop/views/customerorderview
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/shop/views/orderlist</i>

//kracker

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Aurore Hublé

Monday 08 January 2007 6:38:00 am

Well...
I use MySQL in an autoload extension, it's not pretty but it's run.

kracker (the)

Monday 08 January 2007 7:56:44 am

I for one would be interested in your own unique solution to this need. Would you be willing to share it with the community? Perhaps if you were to post it as a contribution or inline in the forum and in sharing perhaps a better solution can be created from it.

respectfully,
//kracker

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Aurore Hublé

Monday 08 January 2007 8:02:44 am

I'll made a contribution as soon as possible.

Aurore Hublé

Tuesday 09 January 2007 3:28:28 am

Contribution is available

http://ez.no/community/contribs/applications/ezorder

Be nice, it's my first.

kracker (the)

Tuesday 09 January 2007 3:55:54 am

<i>Congratulations Aurore</i>!

This is a very fine contribution.
This is only your first? It looks great!

Thank you very much for your willingness
to contribute your own unique solution.

Cheers,
//kracker

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Jianjun Hu

Thursday 04 September 2008 8:41:48 pm

Is it suitable for eZ Publish 4.0.0?

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

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

Main resources:

Total runtime1.1915 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.1250151.2109
Module start 'layout' 0.00510.0020 739.335936.6484
Module start 'content' 0.00711.1836 775.98441,032.7578
Module end 'content' 1.19070.0008 1,808.742215.8594
Script end 1.1914  1,824.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00270.2287160.0002
Check MTime0.00130.1081160.0001
Mysql Total
Database connection0.00130.112910.0013
Mysqli_queries1.124894.3993740.0152
Looping result0.00070.0554720.0000
Template Total1.163897.720.5819
Template load0.00200.164020.0010
Template processing1.161997.514820.5809
Template load and register function0.00120.104010.0012
states
state_id_array0.00200.164510.0020
state_identifier_array0.00170.140920.0008
Override
Cache load0.00170.1451450.0000
Sytem overhead
Fetch class attribute can translate value0.00060.048530.0002
Fetch class attribute name0.00180.1528100.0002
XML
Image XML parsing0.00450.380930.0015
class_abstraction
Instantiating content class attribute0.00000.0022120.0000
General
dbfile0.00480.4043240.0002
String conversion0.00000.000340.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs