Ticket #1963 (new enhancement)

Opened 13 months ago

Last modified 8 weeks ago

Products in multiple categories

Reported by: cmswarrior Owned by: sharvey
Priority: medium Milestone: E-Commerce 0.6.0
Component: Modules - ecommerce Version:
Severity: medium effort / impact Keywords:
Cc: jshipman Hours:

Description

E-commerce module should allow a product to be in multiple categories.

Attachments

recursiveproductgroups.diff (0.8 kB) - added by jshipman 7 months ago.

Change History

Changed 13 months ago by cmswarrior

  • owner changed from sharvey to cmswarrior

Changed 13 months ago by sminnee

  • milestone set to E-Commerce 0.6.0-rc1

Changed 12 months ago by cmswarrior

still working on it.

Changed 7 months ago by jshipman

I've modified the childProducts method within the ProductGroups? class as an attempt at tackling this. Diff attached.

Changed 7 months ago by jshipman

Changed 6 months ago by rlouis

Jeremy has sent me the recursive method that he has made for Product.

Thanks Jeremy !

However, this work corresponds more to "Products in child categories".

The title of this ticket seems to refer to a many many relation Product - Product Groups.

I have just had a quick look to the code and it seems that it has been partially done in the version 0.5.2 (belongs_many_many is present in ProductGroup?).

The many many relation needs to be added and managed by a ManyManyComplexTable? field without the add and edit functionalities (Not good to add or edit pages in a comlex table field !)

Changed 6 months ago by cmswarrior

Hey rlouis, are you working on this? pls. let me know, cause i am working on using ManyManyComplexTable? to achieve this functionality.

Thanks.

Changed 6 months ago by rlouis

Thanks cmswarrior ! But I am gonna do it myself, it's just a few lines of code to add.

Changed 6 months ago by rlouis

  • owner changed from cmswarrior to rlouis

Changed 4 months ago by sharvey

  • owner changed from rlouis to sharvey

Changed 8 weeks ago by jshipman

I made this a little while back. Might be useful to incorporate as an option (perhaps add a boolean parameter to make it recursive or not). Its useful to be able to combine all sub-categories of products into higher categories.

Changed 8 weeks ago by jshipman

  • cc jshipman added
Note: See TracTickets for help on using tickets.