On Sat, Sep 24, 2011 at 1:40 PM, zodman <[email protected]> wrote:

> On Fri, Sep 23, 2011 at 12:20 PM, Ian Wilson <[email protected]> wrote:
> > Hi,
> >
> > Does anyone have any modules which extend the product system for
> > product bundles and/or product variants?
> >
> > By bundle I mean a product which is composed of two or more other
> > products.
> >
> > Would it make sense to just add the other products to the sale lines
> > with price 0 ?  I guess the worry with just leaving the product there
> > is that the inventory won't be subtracted for those two products.
> >
> > I think there had been talk about sale lines having price zero but I
> > didn't see any modules come from it.
> >
> > Also has anyone ever seen an implementation of dynamic-like bundles,
> > such as Product C = Any Product In Category X and Product B?  I guess
> > in a sale the dynamic-nature must be resolved before the Sale is
> > confirmed.
> >
> > By variant I mean a product which is a combination of features and a
> > parent product.  Such as a Large Red T-Shirt.
> >
> > I was thinking that it might be necessary to create another model
> > called ProductFamily and add a wizard that would let the admin choose
> > from feature options in order to create the Products that would then
> > link to their family product.
> >
> > Any suggestions on approaches for these things?
> >
> > Thanks,
> >
> > -Ian
> >
> > --
> > [email protected] mailing list
> >
>
> check this:
>
>
> https://groups.google.com/forum/#!searchin/tryton/zodman/tryton/W3z9Xn8Jqys/87PnV5l1G5MJ
>
>
Yes I think prices most likely will be involved and the Template->Product
relationship does not help with that because the price is stored on
Template.  At least as far as I understand it.



> I ask something it ago.
>
> --
> Andres Vargas
> www.zodman.com.mx
>
> --
> [email protected] mailing list
>


How do people feel about "generating" full products via a wizard?

The idea would be that someone creates a ProductFamily and then adds
features such as size and color to it.  Then they run a wizard to generate
the product variants and are presented with a list of the products with
their soon to be attributes that the admin can customize.  For example
culling certain combinations that aren't necessary or changing the generated
prices.

Here are some ideas I threw together for the model, tell me what you think,
this code is purely prototype and I've only used it to test creating the
model:

Just adds a design type to distinguish variants from normal products, later
maybe bundles could use this property as well for some sort of
product_bundle module.

https://bitbucket.org/ianjosephwilson/product_design/src/83ce3c064df2/product.py

Product families, attributes, attribute options and variants:

https://bitbucket.org/ianjosephwilson/product_family/src/40e9a82754d4/family.py

The method generate_product_variants could be used by a wizard to get a list
of product variants to either create or update via the wizard based on
changes to the family's list of features.

Thanks,

-Ian

-- 
[email protected] mailing list

Reply via email to