Shop

Author Message

Shoaib Bagdadi

Monday 06 September 2010 4:20:30 am

If one adds a new field to shop module lets says "ShippingCountry" do I also have to edit and add this in kernel/classes/shopaccounthandles/ezusersshopaccounthandler.php in function accountInformation?
Is this correct way of doing it ?

Philippe VINCENT-ROYOL

Monday 06 September 2010 1:53:21 pm

Hi Shoaib,

In my opinion this is the easier way to add and edit something. After you have some choice: add an issue on issues.ez.no, or use override eZ mechanism.

About to add and edit "ShippingCountry", maybe someone have already done this and/or could help you :)

Cheers

Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321

G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe

Matthieu Sévère

Tuesday 07 September 2010 12:26:44 am

You should have a look at this discussion : http://share.ez.no/forums/developer/the-purpose-of-shop-account-handlers/(language)/eng-GB

I think the way to go is to add a useraccount handler

--
eZ certified developer: http://ez.no/certification/verify/346216

Shoaib Bagdadi

Sunday 12 September 2010 7:08:52 am

Thanks

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 29 2025 14:44:37
Script start
Timing: Jan 29 2025 14:44:37
Module start 'layout'
Timing: Jan 29 2025 14:44:37
Module start 'content'
Timing: Jan 29 2025 14:44:37
Module end 'content'
Timing: Jan 29 2025 14:44:37
Script end

Main resources:

Total runtime0.0151 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.0048 587.9844151.1797
Module start 'layout' 0.00480.0030 739.164136.5781
Module start 'content' 0.00780.0060 775.742294.2813
Module end 'content' 0.01380.0012 870.023433.9922
Script end 0.0150  904.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.2857140.0002
Check MTime0.00106.7896140.0001
Mysql Total
Database connection0.00064.277310.0006
Mysqli_queries0.002617.430730.0009
Looping result0.00000.099710.0000
Template Total0.00096.110.0009
Template load0.00074.853610.0007
Template processing0.00021.195210.0002
Override
Cache load0.00053.446310.0005
General
dbfile0.001610.731480.0002
String conversion0.00000.052240.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