User preference - price attribute

Author Message

esperion H

Monday 14 August 2006 3:21:32 am

How is it possible to make the user able to choose between the price displayed with VAT and the price displayed without VAT?

I think I need to create a form that can send a value to a session variable and that the price variable will be a function of this session variable (true/false).

The price variables value then has to passed on to the checkout process.

Is this in line with the way ezpublish works?

Do you have any helpful thoughts, suggestions or links to such on this matter?

Thank you.

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

Main resources:

Total runtime0.7930 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.9063152.6250
Module start 'layout' 0.00710.0040 740.531339.4453
Module start 'content' 0.01110.7806 779.9766398.4219
Module end 'content' 0.79180.0011 1,178.39848.1563
Script end 0.7929  1,186.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4458160.0002
Check MTime0.00150.1841160.0001
Mysql Total
Database connection0.00110.137110.0011
Mysqli_queries0.756695.4177460.0164
Looping result0.00040.0488440.0000
Template Total0.748394.420.3741
Template load0.00290.370020.0015
Template processing0.745393.992420.3727
Template load and register function0.00020.029110.0002
states
state_id_array0.00140.176310.0014
state_identifier_array0.00160.197120.0008
Override
Cache load0.00230.288490.0003
Sytem overhead
Fetch class attribute can translate value0.00060.073610.0006
Fetch class attribute name0.00060.074810.0006
XML
Image XML parsing0.00010.011110.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0838100.0001
String conversion0.00000.001740.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/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: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs