I am working on a mod for zen cart and I have two questions:
1. What is the best way to maintain custom data between pages, such as flags that cause checkout pages to behave in certain way? I think I need a flag that shows whether the user has chosen certain products in the checkout process. I was thinking about just appending those flags to the url and grabbing them off the GET in the next page. Do I need to add them to the $parameters variable? It would be nice if there were a few $userflag variables with accessor / modifier functions in the shopping_cart class that could be used to store this information in user sessions.
2. It is looking like I am going to have a product that will need to be an exclusive product to the cart. So I was thinking that there will need to be an observer used to monitor this. This observer will remove the exclusive product from the cart if they add another product and set a flag to output a message to the customer notifying of this. When adding it to the autoloaders, I am have a tough time determining which breakpoint in the array to place it at. Is breakpoint 90 the correct spot?
Any help with this would be much appreciated.



