How to create variant product in Ofbiz trunk

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

How to create variant product in Ofbiz trunk

Ofbiz 开发
Hi everyone,

Could some one tell me how to create variant product in Ofbiz backend
please? Would the different variants be the same product ID or different
product ID? I can't seem to find any documentation about this. Thanks !!

Kind Regards

Fong
Reply | Threaded
Open this post in threaded view
|

Re: How to create variant product in Ofbiz trunk

Harsha Chadhar
Hi
 For creating variants :
Create a Virtual Product which is to be associated with its variants, all
you need to set it as a Virtual Product is to set its isVirtual flag = Y.
Associate this to a category.
For creating say two variant products corresponding to the above Virtual
Product set their isVariant flag = Y. (These products will not be
associated to a Category).
Add features(say two features namely Color, Size) of the the variant
product under Features tab.
Associate these two products to the Virtual product under its Associations
tab with variant  "Association Type Id"= " Product Variant".
Associate the above two features to the Virtual Product as well,

The two variant products will have different product Ids. You can also
refer to DemoProduct.xml where the demo data setup has been done for both
virtual and variant products.

Regards
       Harsha



From:
Ofbiz 开发 <[hidden email]>
To:
[hidden email]
Date:
02-05-2013 15:19
Subject:
How to create variant product in Ofbiz trunk



Hi everyone,

Could some one tell me how to create variant product in Ofbiz backend
please? Would the different variants be the same product ID or different
product ID? I can't seem to find any documentation about this. Thanks !!

Kind Regards

Fong



=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


Reply | Threaded
Open this post in threaded view
|

Re: How to create variant product in Ofbiz trunk

Ofbiz 开发
Hi Harsha,

Thank you very much.

However I am not creating a virtual product, I am creating a real product,
say a dress, and it has different colour and size, is that possible?

Or maybe our understanding of virtual product is different. My
understanding of a virtual product is something that is not tangible or has
unlimited stock, e.g. a MP3 song or a gift card, is this correct? What is
the concept of virtual product in Ofbiz please?

Thank you very much.

Kind Regards

Fong



On Thu, May 2, 2013 at 10:21 PM, Harsha Chadhar <[hidden email]>wrote:

> Hi
>  For creating variants :
> Create a Virtual Product which is to be associated with its variants, all
> you need to set it as a Virtual Product is to set its isVirtual flag = Y.
> Associate this to a category.
> For creating say two variant products corresponding to the above Virtual
> Product set their isVariant flag = Y. (These products will not be
> associated to a Category).
> Add features(say two features namely Color, Size) of the the variant
> product under Features tab.
> Associate these two products to the Virtual product under its Associations
> tab with variant  "Association Type Id"= " Product Variant".
> Associate the above two features to the Virtual Product as well,
>
> The two variant products will have different product Ids. You can also
> refer to DemoProduct.xml where the demo data setup has been done for both
> virtual and variant products.
>
> Regards
>        Harsha
>
>
>
> From:
> Ofbiz 开发 <[hidden email]>
> To:
> [hidden email]
> Date:
> 02-05-2013 15:19
> Subject:
> How to create variant product in Ofbiz trunk
>
>
>
> Hi everyone,
>
> Could some one tell me how to create variant product in Ofbiz backend
> please? Would the different variants be the same product ID or different
> product ID? I can't seem to find any documentation about this. Thanks !!
>
> Kind Regards
>
> Fong
>
>
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to create variant product in Ofbiz trunk

Harsha Chadhar
Hi Fong,
                Creating a product  like dress with different color and
size is possible with Virtual-variant model, its can be like :

Virtual Product : Shirt
Variant 1 : Shirt-Red-Small
Variant 2 : Shirt- Yellow - Large

where the red, yellow, small & large are the product features that a
variant possesses.

Here a Shirt is not a Physical product in existence, doesn't have
inventory hence is Virtual, it is just a Parent to which variant product
are associated with, consider it as this case that anyone can't buy just a
shirt but will  buy a Small White Shirt or a Large Red shirt. So the
catalog can show a product (Virtual) as Shirt and give the buyer options
to chose and buy from it as Red-Small shirt or White-Large- Shirt.

Whereas the Digital goods are the electronic products which do not require
inventory. such as MP23 or downloadable music or gift cards,

Hope this clarifies.

Regards
Harsha
____________________________________________



From:
Ofbiz 开发 <[hidden email]>
To:
[hidden email]
Date:
03-05-2013 14:40
Subject:
Re: How to create variant product in Ofbiz trunk



Hi Harsha,

Thank you very much.

However I am not creating a virtual product, I am creating a real product,
say a dress, and it has different colour and size, is that possible?

Or maybe our understanding of virtual product is different. My
understanding of a virtual product is something that is not tangible or
has
unlimited stock, e.g. a MP3 song or a gift card, is this correct? What is
the concept of virtual product in Ofbiz please?

Thank you very much.

Kind Regards

Fong



On Thu, May 2, 2013 at 10:21 PM, Harsha Chadhar
<[hidden email]>wrote:

> Hi
>  For creating variants :
> Create a Virtual Product which is to be associated with its variants,
all
> you need to set it as a Virtual Product is to set its isVirtual flag =
Y.
> Associate this to a category.
> For creating say two variant products corresponding to the above Virtual
> Product set their isVariant flag = Y. (These products will not be
> associated to a Category).
> Add features(say two features namely Color, Size) of the the variant
> product under Features tab.
> Associate these two products to the Virtual product under its
Associations
> tab with variant  "Association Type Id"= " Product Variant".
> Associate the above two features to the Virtual Product as well,
>
> The two variant products will have different product Ids. You can also
> refer to DemoProduct.xml where the demo data setup has been done for
both

> virtual and variant products.
>
> Regards
>        Harsha
>
>
>
> From:
> Ofbiz 开发 <[hidden email]>
> To:
> [hidden email]
> Date:
> 02-05-2013 15:19
> Subject:
> How to create variant product in Ofbiz trunk
>
>
>
> Hi everyone,
>
> Could some one tell me how to create variant product in Ofbiz backend
> please? Would the different variants be the same product ID or different
> product ID? I can't seem to find any documentation about this. Thanks !!
>
> Kind Regards
>
> Fong
>
>
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>



Reply | Threaded
Open this post in threaded view
|

Re: How to create variant product in Ofbiz trunk

Ofbiz 开发
Hi Harsha,

Understand now!! Thank you very much !!

Kind Regards

Fong

On Fri, May 3, 2013 at 9:29 PM, Harsha Chadhar <[hidden email]>wrote:

> Hi Fong,
>                 Creating a product  like dress with different color and
> size is possible with Virtual-variant model, its can be like :
>
> Virtual Product : Shirt
> Variant 1 : Shirt-Red-Small
> Variant 2 : Shirt- Yellow - Large
>
> where the red, yellow, small & large are the product features that a
> variant possesses.
>
> Here a Shirt is not a Physical product in existence, doesn't have
> inventory hence is Virtual, it is just a Parent to which variant product
> are associated with, consider it as this case that anyone can't buy just a
> shirt but will  buy a Small White Shirt or a Large Red shirt. So the
> catalog can show a product (Virtual) as Shirt and give the buyer options
> to chose and buy from it as Red-Small shirt or White-Large- Shirt.
>
> Whereas the Digital goods are the electronic products which do not require
> inventory. such as MP23 or downloadable music or gift cards,
>
> Hope this clarifies.
>
> Regards
> Harsha
> ____________________________________________
>
>
>
> From:
> Ofbiz 开发 <[hidden email]>
> To:
> [hidden email]
> Date:
> 03-05-2013 14:40
> Subject:
> Re: How to create variant product in Ofbiz trunk
>
>
>
> Hi Harsha,
>
> Thank you very much.
>
> However I am not creating a virtual product, I am creating a real product,
> say a dress, and it has different colour and size, is that possible?
>
> Or maybe our understanding of virtual product is different. My
> understanding of a virtual product is something that is not tangible or
> has
> unlimited stock, e.g. a MP3 song or a gift card, is this correct? What is
> the concept of virtual product in Ofbiz please?
>
> Thank you very much.
>
> Kind Regards
>
> Fong
>
>
>
> On Thu, May 2, 2013 at 10:21 PM, Harsha Chadhar
> <[hidden email]>wrote:
>
> > Hi
> >  For creating variants :
> > Create a Virtual Product which is to be associated with its variants,
> all
> > you need to set it as a Virtual Product is to set its isVirtual flag =
> Y.
> > Associate this to a category.
> > For creating say two variant products corresponding to the above Virtual
> > Product set their isVariant flag = Y. (These products will not be
> > associated to a Category).
> > Add features(say two features namely Color, Size) of the the variant
> > product under Features tab.
> > Associate these two products to the Virtual product under its
> Associations
> > tab with variant  "Association Type Id"= " Product Variant".
> > Associate the above two features to the Virtual Product as well,
> >
> > The two variant products will have different product Ids. You can also
> > refer to DemoProduct.xml where the demo data setup has been done for
> both
> > virtual and variant products.
> >
> > Regards
> >        Harsha
> >
> >
> >
> > From:
> > Ofbiz 开发 <[hidden email]>
> > To:
> > [hidden email]
> > Date:
> > 02-05-2013 15:19
> > Subject:
> > How to create variant product in Ofbiz trunk
> >
> >
> >
> > Hi everyone,
> >
> > Could some one tell me how to create variant product in Ofbiz backend
> > please? Would the different variants be the same product ID or different
> > product ID? I can't seem to find any documentation about this. Thanks !!
> >
> > Kind Regards
> >
> > Fong
> >
> >
> >
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
>
>
>
>