Add Search Results 2 Cart 4 Zip (Checkbox or Dynamic Album)

giosico

Joined: 2004-11-17
Posts: 14
Posted: Fri, 2005-08-26 23:59

A client of mine is considering requiring the ability to add search results to the cart. If that happens I would like a goal of mine for my development for efforts for this feature to go back into the source. To that end I would like to start this thread to facilitate the implementation details. As I learn more about how G2 works I will post more detailed questions. I am looking for answers to my questions to give some technical direction on implementation: brief implementation outline descriptions, documentation pointers, and/or references to existing code that may be similiar. And as always thank you for your time.

For now I will start with ...

I can imagine two use cases
1) Add all results ( like a dynamic album? ) to cart
2) Add each thumbnail via a checkbox with a javascript onclick to add to cart ( this might be reuable on non search pages)

At this point my knowledge of G2 is limited so I am only really able to imagine the implementation details of option 2) the checkbox.
- Could it just be a implemented with some templating and a hook to cart config to turn it on and off?
- What are your thoughts on this?
- Is this a good way to go?
- Direction on implementation?

Then there is option 1) Dynamic Album
- Is that the way to go?
- Is this considerably more involved? etc

Thank you for your time.

John