How change the currency in the store?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

How change the currency in the store?

MarioF
Hi all,

I am trying to change the currency of the store. From USD to EUR. I changed this value in the following places:

- framework\common\config\general.properties:

# -- the default currency to use for prices, etc
currency.uom.id.default=EUR

- Applications -> Catalog Manager -> Stores -> Localisation -> Default Currency Uom Id -> Euro-EUR

- In one of the products I changed the price. All the same but the Currency in Euro-EUR.


At this point I go to the store and I see that this product has no price (but I can see the prices of the products in dollars currency) and when I tryed to add it to the Cart I get the following error:

The Following Errors Occurred:

Could not find a valid price for the product with ID [testKarte], not adding to cart.


What am I doing wrong? Have I to change anything somewhere?

Thanks in advance,
Mario.
Reply | Threaded
Open this post in threaded view
|

Re: How change the currency in the store?

Sumit Pandit-3
Hi,

Did you changed the defaultCurrencyUomId in ProductStore?

--
Regards
Sumit Pandit
On 18-Sep-09, at 1:09 PM, MarioF wrote:

>
> Hi all,
>
> I am trying to change the currency of the store. From USD to EUR. I  
> changed
> this value in the following places:
>
> - framework\common\config\general.properties:
>
> # -- the default currency to use for prices, etc
> currency.uom.id.default=EUR
>
> - Applications -> Catalog Manager -> Stores -> Localisation -> Default
> Currency Uom Id -> Euro-EUR
>
> - In one of the products I changed the price. All the same but the  
> Currency
> in Euro-EUR.
>
>
> At this point I go to the store and I see that this product has no  
> price
> (but I can see the prices of the products in dollars currency) and  
> when I
> tryed to add it to the Cart I get the following error:
>
> The Following Errors Occurred:
>
> Could not find a valid price for the product with ID [testKarte],  
> not adding
> to cart.
>
>
> What am I doing wrong? Have I to change anything somewhere?
>
> Thanks in advance,
> Mario.
> --
> View this message in context: http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25504348.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: How change the currency in the store?

MarioF
Hi Sumit,

Thanks for the answer.

Yes, I changed the value defaultCurrencyUomId in ProductStore.

I changed the value in three places and doesn't work fine. I don't know where is the problem.



Sumit Pandit-3 wrote
Hi,

Did you changed the defaultCurrencyUomId in ProductStore?

--
Regards
Sumit Pandit
On 18-Sep-09, at 1:09 PM, MarioF wrote:

>
> Hi all,
>
> I am trying to change the currency of the store. From USD to EUR. I  
> changed
> this value in the following places:
>
> - framework\common\config\general.properties:
>
> # -- the default currency to use for prices, etc
> currency.uom.id.default=EUR
>
> - Applications -> Catalog Manager -> Stores -> Localisation -> Default
> Currency Uom Id -> Euro-EUR
>
> - In one of the products I changed the price. All the same but the  
> Currency
> in Euro-EUR.
>
>
> At this point I go to the store and I see that this product has no  
> price
> (but I can see the prices of the products in dollars currency) and  
> when I
> tryed to add it to the Cart I get the following error:
>
> The Following Errors Occurred:
>
> Could not find a valid price for the product with ID [testKarte],  
> not adding
> to cart.
>
>
> What am I doing wrong? Have I to change anything somewhere?
>
> Thanks in advance,
> Mario.
> --
> View this message in context: http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25504348.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: How change the currency in the store?

Sumit Pandit-3
Hey I did change currency UOM id at following places and found the  
functionalities running properly -

1) ProductStore
2) PartyAcctgPreference (I am not sure this would be optional)
3) ProductPrice.

Please try above if this can help you.

--
Thanks And Regards
Sumit Pandit

On 18-Sep-09, at 2:19 PM, MarioF wrote:

>
> Hi Sumit,
>
> Thanks for the answer.
>
> Yes, I changed the value defaultCurrencyUomId in ProductStore.
>
> I changed the value in three places and doesn't work fine. I don't  
> know
> where is the problem.
>
>
>
>
> Sumit Pandit-3 wrote:
>>
>> Hi,
>>
>> Did you changed the defaultCurrencyUomId in ProductStore?
>>
>> --
>> Regards
>> Sumit Pandit
>> On 18-Sep-09, at 1:09 PM, MarioF wrote:
>>
>>>
>>> Hi all,
>>>
>>> I am trying to change the currency of the store. From USD to EUR. I
>>> changed
>>> this value in the following places:
>>>
>>> - framework\common\config\general.properties:
>>>
>>> # -- the default currency to use for prices, etc
>>> currency.uom.id.default=EUR
>>>
>>> - Applications -> Catalog Manager -> Stores -> Localisation ->  
>>> Default
>>> Currency Uom Id -> Euro-EUR
>>>
>>> - In one of the products I changed the price. All the same but the
>>> Currency
>>> in Euro-EUR.
>>>
>>>
>>> At this point I go to the store and I see that this product has no
>>> price
>>> (but I can see the prices of the products in dollars currency) and
>>> when I
>>> tryed to add it to the Cart I get the following error:
>>>
>>> The Following Errors Occurred:
>>>
>>> Could not find a valid price for the product with ID [testKarte],
>>> not adding
>>> to cart.
>>>
>>>
>>> What am I doing wrong? Have I to change anything somewhere?
>>>
>>> Thanks in advance,
>>> Mario.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25504348.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25505114.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: How change the currency in the store?

MarioF
Hi Sumit,

The points 1) and 3) are already done, but I cannot find the PartyAcctgPreference. Can you point me where can I find it?

Thanks,
Mario.


Sumit Pandit-3 wrote
Hey I did change currency UOM id at following places and found the  
functionalities running properly -

1) ProductStore
2) PartyAcctgPreference (I am not sure this would be optional)
3) ProductPrice.

Please try above if this can help you.

--
Thanks And Regards
Sumit Pandit

On 18-Sep-09, at 2:19 PM, MarioF wrote:

>
> Hi Sumit,
>
> Thanks for the answer.
>
> Yes, I changed the value defaultCurrencyUomId in ProductStore.
>
> I changed the value in three places and doesn't work fine. I don't  
> know
> where is the problem.
>
>
>
>
> Sumit Pandit-3 wrote:
>>
>> Hi,
>>
>> Did you changed the defaultCurrencyUomId in ProductStore?
>>
>> --
>> Regards
>> Sumit Pandit
>> On 18-Sep-09, at 1:09 PM, MarioF wrote:
>>
>>>
>>> Hi all,
>>>
>>> I am trying to change the currency of the store. From USD to EUR. I
>>> changed
>>> this value in the following places:
>>>
>>> - framework\common\config\general.properties:
>>>
>>> # -- the default currency to use for prices, etc
>>> currency.uom.id.default=EUR
>>>
>>> - Applications -> Catalog Manager -> Stores -> Localisation ->  
>>> Default
>>> Currency Uom Id -> Euro-EUR
>>>
>>> - In one of the products I changed the price. All the same but the
>>> Currency
>>> in Euro-EUR.
>>>
>>>
>>> At this point I go to the store and I see that this product has no
>>> price
>>> (but I can see the prices of the products in dollars currency) and
>>> when I
>>> tryed to add it to the Cart I get the following error:
>>>
>>> The Following Errors Occurred:
>>>
>>> Could not find a valid price for the product with ID [testKarte],
>>> not adding
>>> to cart.
>>>
>>>
>>> What am I doing wrong? Have I to change anything somewhere?
>>>
>>> Thanks in advance,
>>> Mario.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25504348.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25505114.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: How change the currency in the store?

MarioF
Hi all,

At the end it works. I go into the debug mode and saw that in ShoppingCartItem, in the updatePrice method, the cart.getCurrency() was USD. I changed the value of this (in Eclipse debug mode) to EUR and now seemt to work fine.

Thanks all for your help, especially thanks to Sumit,
Mario.


MarioF wrote
Hi Sumit,

The points 1) and 3) are already done, but I cannot find the PartyAcctgPreference. Can you point me where can I find it?

Thanks,
Mario.


Sumit Pandit-3 wrote
Hey I did change currency UOM id at following places and found the  
functionalities running properly -

1) ProductStore
2) PartyAcctgPreference (I am not sure this would be optional)
3) ProductPrice.

Please try above if this can help you.

--
Thanks And Regards
Sumit Pandit

On 18-Sep-09, at 2:19 PM, MarioF wrote:

>
> Hi Sumit,
>
> Thanks for the answer.
>
> Yes, I changed the value defaultCurrencyUomId in ProductStore.
>
> I changed the value in three places and doesn't work fine. I don't  
> know
> where is the problem.
>
>
>
>
> Sumit Pandit-3 wrote:
>>
>> Hi,
>>
>> Did you changed the defaultCurrencyUomId in ProductStore?
>>
>> --
>> Regards
>> Sumit Pandit
>> On 18-Sep-09, at 1:09 PM, MarioF wrote:
>>
>>>
>>> Hi all,
>>>
>>> I am trying to change the currency of the store. From USD to EUR. I
>>> changed
>>> this value in the following places:
>>>
>>> - framework\common\config\general.properties:
>>>
>>> # -- the default currency to use for prices, etc
>>> currency.uom.id.default=EUR
>>>
>>> - Applications -> Catalog Manager -> Stores -> Localisation ->  
>>> Default
>>> Currency Uom Id -> Euro-EUR
>>>
>>> - In one of the products I changed the price. All the same but the
>>> Currency
>>> in Euro-EUR.
>>>
>>>
>>> At this point I go to the store and I see that this product has no
>>> price
>>> (but I can see the prices of the products in dollars currency) and
>>> when I
>>> tryed to add it to the Cart I get the following error:
>>>
>>> The Following Errors Occurred:
>>>
>>> Could not find a valid price for the product with ID [testKarte],
>>> not adding
>>> to cart.
>>>
>>>
>>> What am I doing wrong? Have I to change anything somewhere?
>>>
>>> Thanks in advance,
>>> Mario.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25504348.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25505114.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: How change the currency in the store?

c.schinzer
Sounds like hard-coded. Are you sure?

Option 2) is on Accounting Module, General Ledger settings for Company.

Regards


Carsten


2009/9/18 MarioF <[hidden email]>

>
> Hi all,
>
> At the end it works. I go into the debug mode and saw that in
> ShoppingCartItem, in the updatePrice method, the cart.getCurrency() was
> USD.
> I changed the value of this (in Eclipse debug mode) to EUR and now seemt to
> work fine.
>
> Thanks all for your help, especially thanks to Sumit,
> Mario.
>
>
>
> MarioF wrote:
> >
> > Hi Sumit,
> >
> > The points 1) and 3) are already done, but I cannot find the
> > PartyAcctgPreference. Can you point me where can I find it?
> >
> > Thanks,
> > Mario.
> >
> >
> >
> > Sumit Pandit-3 wrote:
> >>
> >> Hey I did change currency UOM id at following places and found the
> >> functionalities running properly -
> >>
> >> 1) ProductStore
> >> 2) PartyAcctgPreference (I am not sure this would be optional)
> >> 3) ProductPrice.
> >>
> >> Please try above if this can help you.
> >>
> >> --
> >> Thanks And Regards
> >> Sumit Pandit
> >>
> >> On 18-Sep-09, at 2:19 PM, MarioF wrote:
> >>
> >>>
> >>> Hi Sumit,
> >>>
> >>> Thanks for the answer.
> >>>
> >>> Yes, I changed the value defaultCurrencyUomId in ProductStore.
> >>>
> >>> I changed the value in three places and doesn't work fine. I don't
> >>> know
> >>> where is the problem.
> >>>
> >>>
> >>>
> >>>
> >>> Sumit Pandit-3 wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> Did you changed the defaultCurrencyUomId in ProductStore?
> >>>>
> >>>> --
> >>>> Regards
> >>>> Sumit Pandit
> >>>> On 18-Sep-09, at 1:09 PM, MarioF wrote:
> >>>>
> >>>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I am trying to change the currency of the store. From USD to EUR. I
> >>>>> changed
> >>>>> this value in the following places:
> >>>>>
> >>>>> - framework\common\config\general.properties:
> >>>>>
> >>>>> # -- the default currency to use for prices, etc
> >>>>> currency.uom.id.default=EUR
> >>>>>
> >>>>> - Applications -> Catalog Manager -> Stores -> Localisation ->
> >>>>> Default
> >>>>> Currency Uom Id -> Euro-EUR
> >>>>>
> >>>>> - In one of the products I changed the price. All the same but the
> >>>>> Currency
> >>>>> in Euro-EUR.
> >>>>>
> >>>>>
> >>>>> At this point I go to the store and I see that this product has no
> >>>>> price
> >>>>> (but I can see the prices of the products in dollars currency) and
> >>>>> when I
> >>>>> tryed to add it to the Cart I get the following error:
> >>>>>
> >>>>> The Following Errors Occurred:
> >>>>>
> >>>>> Could not find a valid price for the product with ID [testKarte],
> >>>>> not adding
> >>>>> to cart.
> >>>>>
> >>>>>
> >>>>> What am I doing wrong? Have I to change anything somewhere?
> >>>>>
> >>>>> Thanks in advance,
> >>>>> Mario.
> >>>>> --
> >>>>> View this message in context:
> >>>>>
> http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25504348.html
> >>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25505114.html
> >>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>>
> >>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-change-the-currency-in-the-store--tp25504348p25506843.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


--

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany