You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by aray <ar...@kenfuse.com> on 2011/03/16 06:44:04 UTC

Category Level Price

Hi Community, 

I have a requirement where there are lots of products (upto 50 or more in
cases) under each category. Each of them are different but are priced the
same with same rules etc. Right now the way seems to be setting up pricing
details for each of these products (i.e. default and list price). However,
this is painful for 100s of product if done through the user interface which
is the preference. To simplify wondering if there is a way to apply some
inheritence based on product's primary category. For example if there are no
direct price associated can we look for prices associated with the primary
category . If that too is not available then recurse further to its primary
parent all the way to the top potentially. An example scenario is music
download by style / genre all of which are priced the same and there are
potentially hundreds or thousands of them. Of course would love to override
the price with a direct product price for cases but generally apply a site
wide pricing. Is this possible? Do advice if there are simpler ways to model
this or perhaps a support already exists. 

Thanks in advance
ar

--
View this message in context: http://ofbiz.135035.n4.nabble.com/Category-Level-Price-tp3380888p3380888.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Category Level Price

Posted by Atul Vani <at...@hotwaxmedia.com>.
Not sure how good of a solution it is, but you can do it by setting 
price rules too (condition:category, action:flatAmountOverride). Though 
you will need to create some price data for that to work. But things 
will be easily manageable after that.

Thanks&  Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


On Thursday 17 March 2011 10:20 PM, Bilgin Ibryam wrote:
> On Wed, Mar 16, 2011 at 8:33 AM, Jacques Le Roux<
> jacques.le.roux@les7arts.com>  wrote:
>
>    
>> Why not use a seed data file, with possible proper import process? It's
>> easy to edit and, I believe, certainly faster than any specific UI, more
>> error prone tough (C/P, etc.)...
>>
>>
>>      
> If you don't want to maintain price information for each product separately,
> you could override calculateProductPrice service and introduce your custom
> price calculating logic based on categories.
>
> Bilgin
>
>
>    
>> Jacques
>>
>> From: "aray"<ar...@kenfuse.com>
>>
>>   Hi Community,
>>      
>>> I have a requirement where there are lots of products (upto 50 or more in
>>> cases) under each category. Each of them are different but are priced the
>>> same with same rules etc. Right now the way seems to be setting up pricing
>>> details for each of these products (i.e. default and list price). However,
>>> this is painful for 100s of product if done through the user interface
>>> which
>>> is the preference. To simplify wondering if there is a way to apply some
>>> inheritence based on product's primary category. For example if there are
>>> no
>>> direct price associated can we look for prices associated with the primary
>>> category . If that too is not available then recurse further to its
>>> primary
>>> parent all the way to the top potentially. An example scenario is music
>>> download by style / genre all of which are priced the same and there are
>>> potentially hundreds or thousands of them. Of course would love to
>>> override
>>> the price with a direct product price for cases but generally apply a site
>>> wide pricing. Is this possible? Do advice if there are simpler ways to
>>> model
>>> this or perhaps a support already exists.
>>> Thanks in advance
>>> ar
>>>
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.com/Category-Level-Price-tp3380888p3380888.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>>        
>>      
>    

Re: Category Level Price

Posted by Bilgin Ibryam <bi...@gmail.com>.
On Wed, Mar 16, 2011 at 8:33 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> Why not use a seed data file, with possible proper import process? It's
> easy to edit and, I believe, certainly faster than any specific UI, more
> error prone tough (C/P, etc.)...
>
>
If you don't want to maintain price information for each product separately,
you could override calculateProductPrice service and introduce your custom
price calculating logic based on categories.

Bilgin


> Jacques
>
> From: "aray" <ar...@kenfuse.com>
>
>  Hi Community,
>> I have a requirement where there are lots of products (upto 50 or more in
>> cases) under each category. Each of them are different but are priced the
>> same with same rules etc. Right now the way seems to be setting up pricing
>> details for each of these products (i.e. default and list price). However,
>> this is painful for 100s of product if done through the user interface
>> which
>> is the preference. To simplify wondering if there is a way to apply some
>> inheritence based on product's primary category. For example if there are
>> no
>> direct price associated can we look for prices associated with the primary
>> category . If that too is not available then recurse further to its
>> primary
>> parent all the way to the top potentially. An example scenario is music
>> download by style / genre all of which are priced the same and there are
>> potentially hundreds or thousands of them. Of course would love to
>> override
>> the price with a direct product price for cases but generally apply a site
>> wide pricing. Is this possible? Do advice if there are simpler ways to
>> model
>> this or perhaps a support already exists.
>> Thanks in advance
>> ar
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/Category-Level-Price-tp3380888p3380888.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>

Re: Category Level Price

Posted by Jacques Le Roux <ja...@les7arts.com>.
Why not use a seed data file, with possible proper import process? 
It's easy to edit and, I believe, certainly faster than any specific UI, more error prone tough (C/P, etc.)...

Jacques

From: "aray" <ar...@kenfuse.com>
> Hi Community, 
> 
> I have a requirement where there are lots of products (upto 50 or more in
> cases) under each category. Each of them are different but are priced the
> same with same rules etc. Right now the way seems to be setting up pricing
> details for each of these products (i.e. default and list price). However,
> this is painful for 100s of product if done through the user interface which
> is the preference. To simplify wondering if there is a way to apply some
> inheritence based on product's primary category. For example if there are no
> direct price associated can we look for prices associated with the primary
> category . If that too is not available then recurse further to its primary
> parent all the way to the top potentially. An example scenario is music
> download by style / genre all of which are priced the same and there are
> potentially hundreds or thousands of them. Of course would love to override
> the price with a direct product price for cases but generally apply a site
> wide pricing. Is this possible? Do advice if there are simpler ways to model
> this or perhaps a support already exists. 
> 
> Thanks in advance
> ar
> 
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Category-Level-Price-tp3380888p3380888.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>