MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Shipping problem




Hello minivend user
 
I have searched for weeks this problem.
My calalog is based on the demo catalog with locale (en_US, fr_FR, de_DE).
However, I must display price en FF (fr_FR) regardless of the mv_locale.
 
When I call checkout.html, I have this following message in error.log file and Error HTTP 500 in browser ! and I don't know why ?
-------------------------------------
202.22.159.111 un8xppMj:202.22.159.111 - [04/August/1999:14:07:45 -0600] cieldazur /cgi-bin/cieldazur/order Safe: syntax error at (eval 246) line 1, near "0)
> "
>
> 0)
>
202.22.159.111 un8xppMj:202.22.159.111 - [04/August/1999:14:07:58 -0600] cieldazur /cgi-bin/cieldazur/process Runtime error: Can't call method "test_column" without a package or object reference at /usr/home/planet/mvend/lib/Vend/Data.pm line 432.
-------------------------------------
I fact, I think I have two distincts errors, but I don't know where are these problems.
I have read chapter 15 (Shipping), and I think all is good.
 

I have tried to modify CustomShipping to blank (default). Then I display my checkout.html page with all countries (choice in combo run good) and shipping with "envoi eco 0.00, envoi prioritaire 0.00" in my combo. And I have no error in error.log but, of course, I have no price too !
 
All my files are modified with excel and I have no problem with tabulation : products.asc, country.asc run good.
 

-------------------------------------
Here my country.asc :
-------------------------------------
code selector shipmodes name
FR FR eco_A prio_A France (Includes Monaco)
AF AF eco_H prio_H Afghanistan
AL AL eco_E prio_E Albania
...
 

-------------------------------------
Here my shipping.asc (price in FF) :
-------------------------------------
code desc criteria min max formula
 
eco_A envoi eco weight 0 999 25.00
eco_A envoi eco weight 1000 1999 30.00
eco_A envoi eco weight 2000 2999 35.00
eco_A envoi eco weight 3000 4999 45.00
eco_A envoi eco weight 5000 6999 56.00
eco_A envoi eco weight 7000 9999 66.00
eco_A envoi eco weight 10000 14999 86.00
eco_A envoi eco weight 15000 19999 111.00
eco_A envoi eco weight 20000 24999 111.00
eco_A envoi eco weight 25000 30000 170.00
 
prio_A envoi prioritaire weight 0 999 34.00
prio_A envoi prioritaire weight 1000 1999 39.00
prio_A envoi prioritaire weight 2000 2999 44.00
prio_A envoi prioritaire weight 3000 4999 55.00
prio_A envoi prioritaire weight 5000 6999 65.00
prio_A envoi prioritaire weight 7000 9999 75.00
prio_A envoi prioritaire weight 10000 14999 96.00
prio_A envoi prioritaire weight 15000 19999 121.00
prio_A envoi prioritaire weight 20000 24999 121.00
prio_A envoi prioritaire weight 25000 30000 180.00
 
-------------------------------------
Here my checkout.html
-------------------------------------
...
<body bgcolor="#FFFFFF">
[setlocale fr_FR]
<div align="center"><a name="haut"></a>
 
[if !value country]
Set country to: [value name=country set="FR"]
Set save_country to: [value name=save_country set="FR"]
Set mv_shipmode to: [value name=mv_shipmode set="eco_A"]
[elsif type=explicit
compare="[calc]
-------------------------------
... demo code ...
------------------------------
My translate price
---------------------------
<div align="center"> [L]Total[/L] US Dollars =
[setlocale en_US]
[total-cost]
[setlocale]
</div>
------------------------
....
-----------------------

<SELECT MV="loop"
MV.PREPEND="[sort country:name]"
MV.SEARCH="ra=yes/fi=country.asc/ml=1000"
onChange="this.form.submit()"
MV.OPTION="country"
NAME="country">
<OPTION VALUE="[loop-code]"> [loop-data country name]
</SELECT>

----------------------------------
... My shipping code to fill the combo
----------------------------------
<SELECT MV=loop
MV.ARG="[data
table=country
key='[default country FR]'
sf=selector
col=shipmodes
]"
MV.OPTION="mv_shipmode"
onChange="this.form.submit()"
NAME="mv_shipmode">
<OPTION VALUE="[loop-code]"> [shipping-desc [loop-code]] [shipping [loop-code]]
</SELECT>

...

-------------------------------------
Here my locale.asc
-------------------------------------
code en_US de_DE fr_FR en_Euro
PriceDivide 6 3 1 6.57
currency_symbol $ DM FF EUR
frac_digits 2 2 2 2
decimal_point . . , ,
mon_thousands_sep , , . .
p_cs_precedes 1 1
mon_decimal_point . , ,
default 0 0 1 0
...
 
 
 
Please help me
 
Michel
michel.laurient@ville-noumea.nc
 
http://www.cieldazur.com/cgi-bin/cieldazur/process/locale/en_US/page/index
http://www.cieldazur.com/cgi-bin/cieldazur/process/locale/fr_FR/page/index
http://

Search for: Match: Format: Sort by: