Selling Links

I have been working in an attempt to extend CS-Cart for a client. Encountering a few issues. Essentially we need to sell a link (parameters).



Like a digital download, after a completed purchase (payment) the system would need to send an email with a link back to our site with a unique parameter (which would be returned to CS-Cart after calling a PHP function)



Which is the best way to accomplish this hook, addon, other?



If you could refer me to documentation or an example it would be greatly appreciated.

I wanted to include Download Instructions in the order confirmation email and that couldn't be done with CS-Cart so we have to edit the code. That can definitely be done through custom code.



I could give you the code I have and you'd just need to tweak to generate your custom link (according to what logic?). The thing is… I updated to CS-Cart v3 and haven't got the time to upgrade the code yet.

[quote name='SpiritualSelfTransformatio' timestamp='1348463293' post='145621']

I wanted to include Download Instructions in the order confirmation email and that couldn't be done with CS-Cart so we have to edit the code. That can definitely be done through custom code.



I could give you the code I have and you'd just need to tweak to generate your custom link (according to what logic?). The thing is… I updated to CS-Cart v3 and haven't got the time to upgrade the code yet.

[/quote]



Thanks. I was finally able to wrap my head around the design (hooks, addons, etc) and got it to work.