Source Code and customization

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
dalej
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Thu Jul 23, 2009 4:21 pm

Source Code and customization

Post by dalej » Thu Jul 23, 2009 4:37 pm

We are a (potential) new customer and have an application where a subscription sale is involved of X dollars per month (using PayPal). However, there is no ending date - the charges are to continue until the subscription is discontinued. We would prefer to allow the customer to discontinue the subscription through their user account OR via our administrator through the admin I/F.

Currently the AbleCommerce code requires a set number of subscription payments for a sale to continue - and it is not possible to have an open-ended subscription.

I am trying to find out how we can accomplish this and have been told by the AbleCommerce Sales department that we need to "customize" the shopping cart. However, the Sales Department cannot tell me what AbleCommerce product we need to obtain to accomplish this - will the "source" that is included in the basic shopping cart license do or do we need to obtain an additional source code license? or?


Can anyone advise?

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

Re: Source Code and customization

Post by mazhar » Fri Jul 24, 2009 7:25 am

This would be very small change and no need to purchase complete source code. All you need is to do to Edit the website/Admin/Products/EditSubscription.aspx and locate following code

Code: Select all

<asp:RangeValidator ID="NumberOfPaymentsRange" runat="server" Text="*" Display="Static" 
                                ErrorMessage="The total number of payments must be at least 1." ControlToValidate="NumberOfPayments" 
                                MinimumValue="1" MaximumValue="1000" Type="Integer" EnableViewState="false"></asp:RangeValidator>
Save the document. Now it will be possiable for you to enter maximum value that can be entered for Total Payments and it would be 32767. So even you are recurring charges are weekly it will take lot years to reach total number of payments.

dalej
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Thu Jul 23, 2009 4:21 pm

Re: Source Code and customization

Post by dalej » Sun Jul 26, 2009 7:53 am

Yes, that would be minor. It was not clear to me if there were hard coded values behind-the-scenes that would preclude such a change.

In addition, it would be very desirable to give the Customer the opportunity to cancel the on-going charges from MyOrders.aspx. This is where I need to know what source is required for this customization.

Post Reply