Users - Foreign Currency Prices Show Up Zero

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

Users - Foreign Currency Prices Show Up Zero

cjhowe
The way the price is determined for display is a BEAST
to say the least.  Because it takes into account
several things...
1) Various Prices set in the ProductPrice Entity
2) Price Rules set in the
ProductPrice(Rule/Condition/Action) Entities
3) Promotional Prices set in ProductPromo Group
Entity(10+ entities if I recall)
4) Currency
5) Other things I haven't looked into

...I don't think anyone has yet had a need or rather
enough of a need for this to work seemlessly in all
possible scenarios (ie showing multiple currencies to
the same user at the same time).  However with more
people using the web to sell digital products or
products available for download the want (but probably
not need) is perhaps there.  

A workaround to accomplish what you're wanting to
accomplish in a basic sense is I believe (haven't
personally tested) to create the differences apps
(search the lists for how to) for each supported
currency.  changing the name of the app as well as the
website and product store associated with the webapp.
And then placing links on a start page for the user to
determine which store they should be using.

Please, anyone more familiar with the pricing logic
comment.




====================Vinay Agarwal wrote:
I also get
        Could not find a valid price for the product with ID
[I-ACCDC01],
not
        adding to cart.

When I searched for this error message in the mailing
list, I found the
following comment:

        Re: Users - Missing prices?
        by Jacopo Cappellato 2005-12-15 21:
        Also,
        make sure that your prices are in the same currency
as the product
        store's currency.
        Jacopo

My store's default currency is USD. Does that mean I
can not put prices in
any other currency? Is there a way around?

Regards,
Vinay Agarwal

-----Original Message-----
From: users-bounces at lists.ofbiz.org
[mailto:users-bounces at lists.ofbiz.org]
On Behalf Of Vinay Agarwal
Sent: Sunday, January 22, 2006 2:42 PM
To: 'OFBiz Users / Usage Discussion'
Subject: [OFBiz] Users - Foreign Currency Prices Show
Up Zero

Hello,

I have one store (defaultCurrencyUomId="USD") that has
two catalogs, one
that has prices in USD and the other in INR (Indian
Rupee). The catalog with
USD prices shows correct prices but the catalog with
INR prices shows 0
prices. In this catalog, if I just change the
ProductPrice entity for any
product to have currencyUomId="USD" (from
currencyUomId="INR"), the price
shows up correctly in USD. What am I missing? Do I
need to define something
else somewhere (which may have already been defined
for USD)?

Regards,
Vinay Agarwal
 
_______________________________________________
Users mailing list
Users at lists.ofbiz.org
http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Foreign Currency Prices Show Up Zero

David E. Jones

The currency issue has more to do with the ecommerce templates than  
with the price calculation service. With a little coding it would be  
possible to change the currency you want to see right inside the same  
store, but right now all the templates do is get the price given the  
currency of the current store.

BTW: the promotions (#3 in your list) aren't actually applied at the  
price calculation point, but rather they are applied to the cart each  
time it changes.

BTW2: on the topic of fun pricing complexity: the current stuff  
doesn't handle price breaks by quantity very well (it requires  
complicated pricing rules and such), so I wouldn't be too surprised  
to see something to help out with that in the future

-David


On Jan 22, 2006, at 9:56 PM, Chris Howe wrote:

> The way the price is determined for display is a BEAST
> to say the least.  Because it takes into account
> several things...
> 1) Various Prices set in the ProductPrice Entity
> 2) Price Rules set in the
> ProductPrice(Rule/Condition/Action) Entities
> 3) Promotional Prices set in ProductPromo Group
> Entity(10+ entities if I recall)
> 4) Currency
> 5) Other things I haven't looked into
>
> ...I don't think anyone has yet had a need or rather
> enough of a need for this to work seemlessly in all
> possible scenarios (ie showing multiple currencies to
> the same user at the same time).  However with more
> people using the web to sell digital products or
> products available for download the want (but probably
> not need) is perhaps there.
>
> A workaround to accomplish what you're wanting to
> accomplish in a basic sense is I believe (haven't
> personally tested) to create the differences apps
> (search the lists for how to) for each supported
> currency.  changing the name of the app as well as the
> website and product store associated with the webapp.
> And then placing links on a start page for the user to
> determine which store they should be using.
>
> Please, anyone more familiar with the pricing logic
> comment.
>
>
>
>
> ====================Vinay Agarwal wrote:
> I also get
> Could not find a valid price for the product with ID
> [I-ACCDC01],
> not
> adding to cart.
>
> When I searched for this error message in the mailing
> list, I found the
> following comment:
>
> Re: Users - Missing prices?
> by Jacopo Cappellato 2005-12-15 21:
> Also,
> make sure that your prices are in the same currency
> as the product
> store's currency.
> Jacopo
>
> My store's default currency is USD. Does that mean I
> can not put prices in
> any other currency? Is there a way around?
>
> Regards,
> Vinay Agarwal
>
> -----Original Message-----
> From: users-bounces at lists.ofbiz.org
> [mailto:users-bounces at lists.ofbiz.org]
> On Behalf Of Vinay Agarwal
> Sent: Sunday, January 22, 2006 2:42 PM
> To: 'OFBiz Users / Usage Discussion'
> Subject: [OFBiz] Users - Foreign Currency Prices Show
> Up Zero
>
> Hello,
>
> I have one store (defaultCurrencyUomId="USD") that has
> two catalogs, one
> that has prices in USD and the other in INR (Indian
> Rupee). The catalog with
> USD prices shows correct prices but the catalog with
> INR prices shows 0
> prices. In this catalog, if I just change the
> ProductPrice entity for any
> product to have currencyUomId="USD" (from
> currencyUomId="INR"), the price
> shows up correctly in USD. What am I missing? Do I
> need to define something
> else somewhere (which may have already been defined
> for USD)?
>
> Regards,
> Vinay Agarwal
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Users - Foreign Currency Prices Show Up Zero

Jacopo Cappellato
Hi Vinay,

you have to create a new product store with defaultCurrencyUomId="INR",
and then link the catalog with prices in INR to it.
Then, when you start the creation of a sales order, you have to select
the right product store from the drop down box.

Jacopo

Vinay Agarwal wrote:

> I also get
> Could not find a valid price for the product with ID [I-ACCDC01],
> not
> adding to cart.
>
> When I searched for this error message in the mailing list, I found the
> following comment:
>
> Re: Users - Missing prices?
> by Jacopo Cappellato 2005-12-15 21:
> Also,
> make sure that your prices are in the same currency as the product
> store's currency.
> Jacopo
>
> My store's default currency is USD. Does that mean I can not put prices in
> any other currency? Is there a way around?
>
> Regards,
> Vinay Agarwal
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Vinay Agarwal
> Sent: Sunday, January 22, 2006 2:42 PM
> To: 'OFBiz Users / Usage Discussion'
> Subject: [OFBiz] Users - Foreign Currency Prices Show Up Zero
>
> Hello,
>
> I have one store (defaultCurrencyUomId="USD") that has two catalogs, one
> that has prices in USD and the other in INR (Indian Rupee). The catalog with
> USD prices shows correct prices but the catalog with INR prices shows 0
> prices. In this catalog, if I just change the ProductPrice entity for any
> product to have currencyUomId="USD" (from currencyUomId="INR"), the price
> shows up correctly in USD. What am I missing? Do I need to define something
> else somewhere (which may have already been defined for USD)?
>
> Regards,
> Vinay Agarwal
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users