gifts? of course to that direction send some pretty detail for you?
the visitors do not see that I articulate has a cost 012, single see 01, when they go to the cart, ohhhh, the price is but high when hidden being the following decimal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure, what a currency you use ... Please tell me ...
But decribed in other thread: Change 'de' to something else. In Germany comma is NOT used to mark a thousand part of a number. In Germany we use a dot.
In Germany is 1.000,20 Euro -> thousand Euro and twenty Cent. In most other countries same value is written as 1,000.20 ... phPay decides with short name of language, how to fromat numbers ...
I think that's all here. Am I right?
So you understand, why ask for gifts ;-)
Greetings,
Andreas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using the Spanish language, that has format 1.000,00, I need to show the visitor who my product has price by 0.034 unit the present system
single sample 0.03, but when making the order by 10 articules the result is 0,34 and the visitor is confused...
infinite tank`s
do you like TEQUILA?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In Germany: 'one thousand Euro and twenty Cent' written as 1.000,20 Euro.
If you use in Spanish the same format and not wish shortname 'de' for your language for any reasons you have to change in functions.inc.php (function showprice()), show_cart.inc.php, view_cart.php, payed.php and mailer.inc.php 'de' to 'es' - or what ever the shortname is.
functions.inc.php new line 39:
if ($lang=="es") {$price= number_format($disprice, 2 , "," , ".");}
Similar line in other files.
Greetings,
Andreas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you please build one HTML-page which contains a finshed view?
There is darkness, what you which to do ...
Do you need to loops, which create any combination of color and size?
<select all sizeinfos from database>
foreach sizeinfo
<select all colorinfo from database>
output sizeinfo colorinfo
</end colors>
</end sizes>
Of course this is no known programming language, but the result are all combinations of sizeinfo and colorinfos.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-06-24
I'm coming up to a similar problem. Some SMD parts I want to sell have a unit price below 1 ct. They are sold in 10 units/pack, which cost above 1 ct, but I must state the unit price for legal reasons.
Why don't you use setlocale(), for this would save you from all the different formats. You could calculate with all the available digits and round for the display only.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
another question, as I show price of type 0,003 or 0,0021
This are gifts? ;-)
What happens, if you use such prices?
gifts? of course to that direction send some pretty detail for you?
the visitors do not see that I articulate has a cost 012, single see 01, when they go to the cart, ohhhh, the price is but high when hidden being the following decimal
I'm not sure, what a currency you use ... Please tell me ...
But decribed in other thread: Change 'de' to something else. In Germany comma is NOT used to mark a thousand part of a number. In Germany we use a dot.
In Germany is 1.000,20 Euro -> thousand Euro and twenty Cent. In most other countries same value is written as 1,000.20 ... phPay decides with short name of language, how to fromat numbers ...
I think that's all here. Am I right?
So you understand, why ask for gifts ;-)
Greetings,
Andreas.
I am using the Spanish language, that has format 1.000,00, I need to show the visitor who my product has price by 0.034 unit the present system
single sample 0.03, but when making the order by 10 articules the result is 0,34 and the visitor is confused...
infinite tank`s
do you like TEQUILA?
the system of this forum changes to the points and commas. the Spanish format is 1 comma 000 point 00
In Germany: 'one thousand Euro and twenty Cent' written as 1.000,20 Euro.
If you use in Spanish the same format and not wish shortname 'de' for your language for any reasons you have to change in functions.inc.php (function showprice()), show_cart.inc.php, view_cart.php, payed.php and mailer.inc.php 'de' to 'es' - or what ever the shortname is.
functions.inc.php new line 39:
if ($lang=="es") {$price= number_format($disprice, 2 , "," , ".");}
Similar line in other files.
Greetings,
Andreas.
tank`s but te problem is this:
http://www.lebaraque.com/version202a/login.php?sess=f6635254aef2f2471553216616a9817d&abt=2&caller=nav
1.- my price is 0.032, the system only show 0.03
no matters the comma or point, need show 0.032
2.- please,as I group the similar articules so that they are possible to be access from "details"(Descripcin), the same one I articulate, different color, different price...
remember ?
https://sourceforge.net/forum/forum.php?thread_id=802112&forum_id=121974
If you only need more numbers behind you have to change same lines and change number_format() parameters from 2 to 3.
Do you answered my question: http://sourceforge.net/forum/message.php?msg_id=2015330 ?
Because I dont understood, what you wish to do ... Of course my English is not the best ... but please try to explain ...
my ingles is equal of calamitous, already resolve the problem of 0 comma 0 point thanks
single continuous with the problem to enlist similar products:
http://www.lebaraque.com/version202a/login.php?sess=e4fcefb56467df451cb063c3f4103693&abt=2&caller=nav
it wanted that all my products "redonda" that varian in size and color enlisted within the view "descripcion"
that is to say, when the visitor between in the "Descripcin" of I articulate it underneath has the list of the similar articules
thanks
Can you please build one HTML-page which contains a finshed view?
There is darkness, what you which to do ...
Do you need to loops, which create any combination of color and size?
<select all sizeinfos from database>
foreach sizeinfo
<select all colorinfo from database>
output sizeinfo colorinfo
</end colors>
</end sizes>
Of course this is no known programming language, but the result are all combinations of sizeinfo and colorinfos.
I'm coming up to a similar problem. Some SMD parts I want to sell have a unit price below 1 ct. They are sold in 10 units/pack, which cost above 1 ct, but I must state the unit price for legal reasons.
Why don't you use setlocale(), for this would save you from all the different formats. You could calculate with all the available digits and round for the display only.