Ticket #2430 (closed task: fixed)
e-commerce concept
| Reported by: | nicolaas | Assigned to: | sharvey |
|---|---|---|---|
| Type: | task | Priority: | blocker |
| Milestone: | E-commerce 0.7.0 | Component: | Modules - ecommerce |
| Version: | 2.2.2-rc2 | Severity: | medium effort / impact |
| Keywords: | Cc: | ||
| Due date: | Hours: |
Description
I recommend that the e-commerce development is stripped down to the bare minimum with addable extensions. The basic e-commerce setup will have just enough to select products, remove them, etc...: the basic shopping cart system. No ajax, no shipping calculators, no frills.
From there, additional features can be added by the developer as required.
I am recommending this because in my applications of the shopping cart I spend more time removing things than adding them. The code is really hard to understand and the classes are far too interwoven. They need to be more stand-alone with the ability to add things.
I think in the original e-commerce, too many assumptions were made and not enough time was spent trying to keep the code clean and easily adjustable.
Right now, it is even really hard to contribute to the e-commerce platform, because of the situation described above.
I am not sure if this is feasible, but I think it would take someone a couple of days to go through all the code and: 1. remove superfluous stuff 2. increase quality of remaining code 3. cut and paste code into better organised groups
