Hello,
I’m curious if there is already a way to extend the functionality of the simple commerce module. What I mean:
currently the module sells products, based on the entry IDs. In my case we sell t-shirts with different colors and sizes. How would you recommend to “log” the type of the t-shirt first and then proceed to paypal (the price doesn’t change by different color / size)? The wanted workflow is:
1. The user (not registered member) clicks on the profile of the t-shirt
2. S\he chooses the color and size and click on “checkout”.
3. EE logs the information for the order and proceeds to Paypal
4. When the payment is done, the administrator receives notification for the type of the order (t-shirt, size, color).
My first idea was simply to add the different types of t-shirts as separated entries, but it’s pretty hard to maintenance for the customer. Then I was thinking on the development of extension, which will “do something” before and after the payment process through the hooks:
http://expressionengine.com/developers/extension_hooks/simple_commerce_perform_actions_start/
http://expressionengine.com/developers/extension_hooks/simple_commerce_perform_actions_end/
Any ideas are welcome. I think that this is common need, if we talk about e-commerce with ExpressionEngine.