Support Forums

currency decimal

This is a discussion on currency decimal within the Technical Support forums, part of the Technical Support Forums category; Hi guys, In step3 I get a warning with the price "required" when the price is already in Yet it ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 09-24-2009, 06:37 AM   #1
Senior Member
 
pschievink's Avatar
 
Join Date: Mar 2007
Location: Netherlands, Friesland
Posts: 139
Rep Power: 22
pschievink is on a distinguished road
Question currency decimal

Hi guys,

In step3 I get a warning with the price "required" when the price is already in
Yet it doesn't see it and it puts a "." as currency decimal yet it is set as ", " because
it's in dutch...

Is it possible to do an {if} in the checkup that looks at the language instead of doing just a "."?
Because now it is like this:
===================================
{if $checkoutRequirePrice=="Y" && $checkoutDisPrice=="Y"}
{literal}
,price: {
{/literal}
required: true,
{if $smarty.const.CURRENCY_DECIMAL == '.'}
number: true
{else}
numberDE: true
{/if}
=====================================
__________________
Greetz...Pieter

v4.1.6 Developer (Fluid-Lime + Add-ons)
v4.1.6 Developer Fluid-Lime + Add-ons (testing)
Paardenverkoop.net, .be, .org, .biz
-----------------------------------------
"What's on your mind?...Skull.....skin....hair..... "
pschievink is offline  
Old 09-24-2009, 09:05 AM   #2
Staff
 
Join Date: Mar 2006
Posts: 604
Rep Power: 36
Blair will become famous soon enough
Default

A couple of things to check first....

Log in to administration.
Go to "Settings >> Settings >> Regional Settings"
Confirm the values are correct there.

Next, you can add:
setlocale(LC_ALL, 'nl_NL');
to your language file.

'nl_NL' is for Dutch. Other values can be found at ISO 639 Language Codes (Obsolete)
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline  
Old 09-24-2009, 09:51 AM   #3
Senior Member
 
pschievink's Avatar
 
Join Date: Mar 2007
Location: Netherlands, Friesland
Posts: 139
Rep Power: 22
pschievink is on a distinguished road
Default

Quote:
Originally Posted by Blair View Post
A couple of things to check first....

Log in to administration.
Go to "Settings >> Settings >> Regional Settings"
Confirm the values are correct there.

Next, you can add:
setlocale(LC_ALL, 'nl_NL');
to your language file.

'nl_NL' is for Dutch. Other values can be found at ISO 639 Language Codes (Obsolete)
I've checked them and they are both set.
So why am I getting this when I want to change my ad?
And why does it only check my decimal and not my thousand seperator?
__________________
Greetz...Pieter

v4.1.6 Developer (Fluid-Lime + Add-ons)
v4.1.6 Developer Fluid-Lime + Add-ons (testing)
Paardenverkoop.net, .be, .org, .biz
-----------------------------------------
"What's on your mind?...Skull.....skin....hair..... "
pschievink is offline  
Old 09-24-2009, 11:16 AM   #4
Staff
 
Join Date: Mar 2006
Posts: 604
Rep Power: 36
Blair will become famous soon enough
Default

It looks like this might be a bug. Maybe...
I'll do some testing.
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with currency swapntrade Technical Support 1 08-24-2009 09:51 AM
Currency decimal, calculations wabugi Technical Support 17 07-29-2009 02:27 PM
Currency Unregistered Pre Sales Questions 5 03-25-2008 05:29 PM
currency solstice Pre Sales Questions 1 08-21-2007 02:17 PM


All times are GMT -4. The time now is 06:07 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0