How to set shipping details with sample_shipping_handler

Author Message

Elena Ivanova

Thursday 24 January 2008 7:33:29 am

Hello,

I set up webshop with PayPal extension and now I'm trying to equip it with shipment functionality. I downloaded and installed sample_shipping_handler extension (http://ez.no/developer/contribs/examples/sample_shipping_handler), but I was not able to find a way to set / adjust some options as delivery type and urgency flag.

Can someone help me?

Thanks.

Elena Ivanova

Friday 25 January 2008 2:30:37 am

Hi,

I found out that a new attribute 'country' should be added to the user class. It is used for calculations of shipping cost depending on country.

Regarding urgency flag, the buyer has to click on the shipment link and after that check the checkbox.

But now I have a problem with access rights - currently only administrator users have access to this page with urgency flag checkbox.

Elena Ivanova

Friday 25 January 2008 4:28:29 am

Now everything is ok. A new policy "module: shipping, function: changeoptions, No limitations" was added to the customer role.

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

Main resources:

Total runtime0.8056 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.1719152.6563
Module start 'layout' 0.00610.0105 740.828139.5078
Module start 'content' 0.01660.7874 780.3359467.1250
Module end 'content' 0.80400.0015 1,247.460912.0938
Script end 0.8055  1,259.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3747160.0002
Check MTime0.00120.1540160.0001
Mysql Total
Database connection0.00100.127910.0010
Mysqli_queries0.745792.5669550.0136
Looping result0.00050.0616530.0000
Template Total0.768295.420.3841
Template load0.00190.240920.0010
Template processing0.766295.113020.3831
Template load and register function0.00020.020510.0002
states
state_id_array0.00090.109710.0009
state_identifier_array0.00180.220120.0009
Override
Cache load0.00160.1959170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.081310.0007
Fetch class attribute name0.00160.203340.0004
XML
Image XML parsing0.00220.278110.0022
class_abstraction
Instantiating content class attribute0.00000.002460.0000
General
dbfile0.00250.3110160.0002
String conversion0.00000.004140.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs