I have to implement a fairly simple sessions-based shopping cart system which has already been developed with vanilla PHP into a Silverstripe website. I have a few questions surrounding this:
1. What is the best way to develop the CRM tool for customers? Is it to extend the Members class (as shown in the CRM video tutorial and the Silverstripe book), or to decorate the Member class as with the forums module?
Customers require, along with the usual member fields, an address, phone number and customer type (different customer types will display different prices when logged in). Website administrators need to be able to change the customer type. Member registration is a 1-page process.
2. What is the best way to integrate the shopping cart page with Silverstripe? Ideally it should be a standalone template with some custom PHP code utilizing Sapphire where necessary, and not appearing as a page within the CMS.