Try Now
More in this section

Forums / Ecommerce / Product relationships and product components

Product relationships and product components

2 posts, 0 answered
  1. Dave
    Dave avatar
    29 posts
    31 Oct 2011
    03 Feb 2012
    Link to this post
    Does the built-in ecommerce module provide any facility for relating products in a hierarchy?
    Our products consist of multiple components - imagine, say, a compiler which has an IDE, an optional debugger, etc. You can't buy the components individually, but they may belong to multiple kits.

  2. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    13 Aug 2007
    06 Feb 2012
    Link to this post
    Hey Dave,

    Currently the official answer would be 'Sorry not yet'. Unofficially you could try a combination of custom fields and a custom taxonomy. 

    The custom field is to describe if a product is a component or a base product.(in your case you can make 2 different product-types, but if you image computers and also selling cpu individually a custom field would be easier)

    Components would be initially hidden in the product listing by extending the the widget selector and displayed selectively based on parent taxonomy.

    The custom taxonomy would describe the hierarchical relation between base products and components. Since products can belong to multiple taxonomies, components could show up under different 'parent taxonomies' (read base product groups).

    So yes, it currently would be do-able, but it would require you to alter a few things:
    Extend product types (implemented).
    Hierarchical taxonomy (use departments, if not extend BE:products to allow a 2nd).
    Alter display of product widgets to hide components (implemented)
    Selectively display component-products (not implemented - custom coding).

    Hope this helps...

2 posts, 0 answered