Hi there!
I need a little pointer..
My boss wants, that our VirtueMart-shop sends mails 2 weeks AFTER an order changed to the "S"-state. These mails should ask the customer, how satisfied he was with our service. The answer should be written in the database and should then be used to create a diagram.
I currently wasn't able to find a pleasing way to put this into VirtueMart. What I thought yet is the following:
- The creation of the mails could be put into some of the initialisation classes like ps_main, virtuemart.php or something..
- The mails can't contain the form directly, so there has to be a link to the website. This link needs to contain some GET-parameters to identify the user and the order.
- The link has to point somewhere on the site, where a form is generated for this user, providing the ability to answer the question ONCE. The answer has to be written in the db. It's the "somewhere", which I really don't like yet, since I don't know, where this could best happen. Maybe a Joomla-contentitem? Some kind of special shop.browse-template in a special category (which doesn't sound very elegant to me..)? I hope anyone has a great idea for this!
- The backend needs an addition to put out the data of the dbtable with the answers and provide an image with bars or a pie or something. This part is no problem.
The problem is, that my boss definitely wants the form to be integrated into the website. So it is not possible to display it in a popup or anything like this..
Thanks for your thoughts!
Lars