Summary:
Compatibility with other modules
Detailed Description:
Allowing other modules to add items to the CartMadeSimple cart would be very
interesting. And it seems to me that the job wouldn't be too hard either. From
what I've seen, SMS is used only in the orders api (elsewhere just to get the
weight unit), so all that would be to change are the ShowCart, GenerateOrder and
GetOrderLines functions. You could save the module name (which is already passed
in the add to cart link) in the carts table, and in, say, ShowCart, instead of
having hard-coded queries with SMS, the cart could ask the appropriate module to
return the product informations. Other modules would only need to include this
function and create links to CartMadeSimple, and the integration is done.