Prices with multiple currencies : Display based on country

Author Message

H-Works Agency

Monday 25 February 2008 6:50:46 am

Hello

What is the technique to switch prices currency based on the country ?

I use geoip module to recongnise the client country, then i set the "preferred currency" but it doesn't seem to work.

Can someone help me on this ?

EZP is Great

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

Main resources:

Total runtime0.5843 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.0082 588.1641152.6563
Module start 'layout' 0.00820.0030 740.820339.4922
Module start 'content' 0.01120.5710 780.3125460.4453
Module end 'content' 0.58230.0019 1,240.75788.1094
Script end 0.5842  1,248.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.7205160.0003
Check MTime0.00170.2890160.0001
Mysql Total
Database connection0.00110.190310.0011
Mysqli_queries0.542992.9218460.0118
Looping result0.00060.1104440.0000
Template Total0.551394.420.2756
Template load0.00170.290120.0008
Template processing0.549694.061520.2748
Template load and register function0.00010.017610.0001
states
state_id_array0.00080.140910.0008
state_identifier_array0.00190.329720.0010
Override
Cache load0.00140.231480.0002
Sytem overhead
Fetch class attribute can translate value0.00090.149810.0009
Fetch class attribute name0.00070.120620.0004
XML
Image XML parsing0.00050.091410.0005
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00100.1687170.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs