Pre-purchase question -- dynamic digital goods

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
medusa11365
Ensign (ENS)
Ensign (ENS)
Posts: 9
Joined: Thu Oct 28, 2010 6:57 am

Pre-purchase question -- dynamic digital goods

Post by medusa11365 » Thu Oct 28, 2010 7:34 am

A major customization that I'll need is to be able to hook into a successful order completion and dynamically create the digital good purchased. The goods will be various-sized jpg's, created on-the-fly. Will I be able to customize the cart without purchasing the source in order to achieve this? I'm a developer, so it's not a question of HOW to do this, just if it's possible. I need to determine the total cost of the software to get my store up, and purchasing the source would add to it considerably..

Thanks

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Pre-purchase question -- dynamic digital goods

Post by mazhar » Fri Oct 29, 2010 5:31 am

Yeah I think its possible without source code. For example one way to accomplish this could be to put dynamic digital good creation in CheckedOut event handler in Website/ConLib/OnePageCheckout.ascx.cs file. This event handler is called just after checkout completion. In there you check if this checkout was a success by doing something like

Code: Select all

if (response.Success)
{
......................
......................
Order order = OrderDataSource.Load(e.OrderId);
//DO YOU CUSTOM DIGITAL GOOD CREATION HERE USING ORDER INFORMATION

}

medusa11365
Ensign (ENS)
Ensign (ENS)
Posts: 9
Joined: Thu Oct 28, 2010 6:57 am

Re: Pre-purchase question -- dynamic digital goods

Post by medusa11365 » Fri Oct 29, 2010 7:32 am

Thank you for your fast reply. It's very nice to find a forum that is apparently well-maintained.

Post Reply