Edit Subscriptions & R8

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Edit Subscriptions & R8

Post by egormsen » Mon Jul 28, 2014 10:35 am

In R8 it seems that we are no longer able to edit subscription expiration dates which we often need to do. For example if someone calls in to cancel a subscription during the middle of the month we want to leave the subscription active until the end of the month.

Is there a reason why we can no longer to that or I has that feature been moved and I am just no seeing it?
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Edit Subscriptions & R8

Post by Katie » Mon Jul 28, 2014 11:22 am

If you view the subscription via the order, there is an EDIT button next to the expiration date. Is this where you are looking, or were you changing the date from a different area?
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: Edit Subscriptions & R8

Post by egormsen » Mon Jul 28, 2014 11:29 am

That is where we are trying it edit it, but it is not an editable field. Only Subscription name, group, active and number of payments are editable.
Subscription2.jpg
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Edit Subscriptions & R8

Post by Katie » Mon Jul 28, 2014 12:30 pm

I'm not sure why you think the feature disappeared. Before R7, and all the new subscription improvements, the page in your screenshot didn't exist yet. I installed R6 and tested to make sure that we hadn't accidentally removed a feature and there was no ability to edit subscriptions until R7.

What you need to do is click on the Orders tab and change the data via the order > subscriptions page, or you can simply edit the order instead of going in through the Manage Subscriptions page.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: Edit Subscriptions & R8

Post by egormsen » Mon Jul 28, 2014 1:08 pm

Sorry if I am not being clear, but the edit is not available on the page that you mentioned either. It seems like it might be that new orders are working but existing ones are not.

For example, here is the page that you told me to go to with the same order as I was showing you earlier.
Subscription3.jpg
Here is the same page with a new order that was created today
Subscription4.jpg
Notice how the editing of the expiration date is not available on the order that was created before R8
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Edit Subscriptions & R8

Post by Katie » Mon Jul 28, 2014 1:34 pm

Ok, that is really strange. I'm guessing the first screenshot has a subscription order before you upgraded? It doesn't make any sense why you wouldn't be able to edit the end date regardless of when the order was placed. I'll have to check with the dev team on this.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: Edit Subscriptions & R8

Post by egormsen » Mon Jul 28, 2014 1:40 pm

Yes that is correct, the first order was before the upgrade. Thanks for checking into it.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: Edit Subscriptions & R8

Post by egormsen » Thu Jul 31, 2014 12:06 pm

Any updates on this?
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Edit Subscriptions & R8

Post by Katie » Thu Jul 31, 2014 1:59 pm

Not yet. This is our busiest time of year, so I hope to receive an update by next week.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Edit Subscriptions & R8

Post by jmestep » Fri Aug 01, 2014 1:23 am

The code is making that link visible if there is one payment, but I don't know why since I haven't dealt with subscriptions much.

Code: Select all

<asp:LinkButton ID="EditButton" runat="server" CommandName="Edit" Visible='<%#((short)Eval("NumberOfPayments")) == 1%>' ><span style="padding-left:10px; font-weight:bold;">EDIT</span></asp:LinkButton>
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Edit Subscriptions & R8

Post by nadeem » Mon Aug 04, 2014 3:43 am

Yes, Judy is right. The Edit link will only be visible when number of payments equal to one (uses calculated expiration date). Your first screenshot clearly shows that you have provided 999 number of payments that's why the link isn't showing up for you. If there are more than one payments, the expiration is automatically calculated by the system considering the number of payments, therefore, you can't edit expiration in this case.
Last edited by nadeem on Mon Aug 04, 2014 4:07 am, edited 1 time in total.

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Edit Subscriptions & R8

Post by nadeem » Mon Aug 04, 2014 4:03 am

You can also note that subscription expiration is recalculated automatically when you update number of payments value for an order and save.

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: Edit Subscriptions & R8

Post by egormsen » Mon Aug 04, 2014 12:15 pm

Naddem, Sorry but I am bit confused by your responses, why does it matter that we entered 999 as the Maximum number of payment on a the subscription Product? Are we supposed to be setting them up differently? If so, then why when create a new order with the same product after R8 has been applied then everything works just like it did in R6?

Also, in the subscriptions that are not showing the link, there have been payments make, so the link should be showing up, correct? Possibly looks like to me that something is getting lost in the data during the db conversion from R6 to R8? Its only orders that were created pre upgrade that are a problem.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

abradley
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 101
Joined: Wed Feb 12, 2014 4:46 pm

Re: Edit Subscriptions & R8

Post by abradley » Tue Aug 05, 2014 5:46 am

Eldon, what Nadeem is trying to say is that you do not use the "Edit" link to change the subscription end date any more. Instead change the "999" to a number of payments that makes your expiration what you want.

The system use the number of payments to automatically calculate the end of the subscription. So just change the number of payments instead.
Austin

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: Edit Subscriptions & R8

Post by egormsen » Tue Aug 05, 2014 6:03 am

Thank you for clarifying that, but I do not think that will not work in our case. What happens is that someone calls into to cancel a subscription and then depending on the situation we will let the subscription continue for a period of time (i.e end of month, two more weeks, etc). So that is why we need to be able to set the date to a specific date. So we really need the subscriptions created prior to R8 to work as they did before which is how new order created work.

Right now they have having a keep a list of cancelation dates that they need to watch and then go in a deactivate them on the particular date.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Edit Subscriptions & R8

Post by nadeem » Tue Aug 05, 2014 6:49 am

I think I understand your problem. For legacy subscriptions, number of payments does have different meaning. For new recurring subscription feature, number of payments are used to calculate expiration and the edit link is only shown for the subscriptions that have number of payments equals to 1.

Here is how this issue can be fixed. Locate following line inside Website/Admin/Orders/ViewSubscriptions.aspx

Code: Select all

<asp:LinkButton ID="EditButton" runat="server" CommandName="Edit" Visible='<%#((short)Eval("NumberOfPayments")) == 1%>' ><span style="padding-left:10px; font-weight:bold;">EDIT</span></asp:LinkButton>
and replace with

Code: Select all

<asp:LinkButton ID="EditButton" runat="server" CommandName="Edit" Visible='<%#((short)Eval("NumberOfPayments")) == 1 || ((bool)Eval("IsLegacy"))%>' ><span style="padding-left:10px; font-weight:bold;">EDIT</span></asp:LinkButton>
This will show you the edit link for legacy subscription as well so that you can update expiration.

egormsen
Captain (CAPT)
Captain (CAPT)
Posts: 236
Joined: Fri May 16, 2008 9:16 am

Re: Edit Subscriptions & R8

Post by egormsen » Tue Aug 05, 2014 7:28 am

Perfect! Thank you very much.
Eldon Gormsen
Weigh Down Ministries
AC Gold R12 SR1
http://store.weighdown.com

Post Reply