← Back to team overview

openerp-expert-production team mailing list archive

Re: [Magentoerpconnect-community] grouped products/packs

 

2011/2/13 Ana Juaristi <ajuaristio@xxxxxxxxx>

> HI Jan:
>
> Very good analysis. I think you are right on this case. It's working when
> you download grouped products on a sales order but... as it is now, it's
> mandatory defining the group in magento administrator site. There is no
> conexion if you want to define grouped products in OpenERP and upload
> definition to Magento. I think it's the question, how to define
> configuration in OpenERP for grouped products... is this right raphaël?
>
> Thank you:
>
> Ana
>

I think there is 2 ways you could define "groups" so that OpenERP / Magento
can understand each other:

a) A flag on a (openerp) product.category, that way you will put products
into this specific category then you set the flag which toggles how magento
will import it, as a usual category or as a grouped product.

Consider following product.category structure :
  1) Products
      a) Sofa
           A) Green Model
           B) Red Model

You could toggle the flag on both A and B categories which will then finally
show 2 products when browsing the Sofa category, (not showing 2
sub-categories!)


b) A seperate new field with many2many relations to a seperate model
(possibly related with 'product.product' itself which would then need flag
to make it a "grouped" product).

I'm not very familiar with openerp/magento connectors so not sure which
would be easier to implement.

Final note, option A has a downside of not being able to put 1 product into
2 different groups as you can only specify one category per product. Thus
you might end up with duplicate products which is not a very good thing.

On the other hand making the connector understand the new field (option b)
and interpret/translate it to magento grouped product could be a lot of
work.

Regards,
Niels

References