Product Group Restrictions...Subscription Groups?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
SuperMindConsulting
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Sun Jan 17, 2010 1:38 am
Contact:

Product Group Restrictions...Subscription Groups?

Post by SuperMindConsulting » Sun Sep 29, 2013 1:56 am

R6

I am in the process of upgrading a client to R6. We need to use the new "Product Group Restriction" feature to restrict products to members of certain subscriptions.

On the EditProduct page, only non-subscription groups are available.

Is there a reason why the LoadNonSubscriptionGroups method from the GroupDataSource is being used, as opposed to the other available methods?

If I change it, can you tell me if there any known complications with using Subscription Groups?

AbleCommerce.Admin.Products.EditProduct.aspx

Code: Select all

<asp:ListBox ID="ProductGroups" runat="server" SelectionMode="Multiple" Height="100px" Width="250px" DataSourceID="ProductGroupsDS" DataTextField="Name" DataValueField="GroupId"></asp:ListBox>....

<asp:ObjectDataSource ID="ProductGroupsDS" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="LoadNonSubscriptionGroups" TypeName="CommerceBuilder.Users.GroupDataSource"></asp:ObjectDataSource>
Thanks,
George Naqi
SuperMindConsulting.com

Image

User avatar
ForumsAdmin
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 399
Joined: Wed Mar 13, 2013 7:19 am

Re: Product Group Restrictions...Subscription Groups?

Post by ForumsAdmin » Sun Sep 29, 2013 10:40 pm

There is a reason we don't make subscription groups available for assignment. Subscription groups are system groups automatically created and handled by the system behind the scenes. You can't rely on them to apply access restrictions on products.

If you want to apply restrictions on some products, create a new group and add those products to that group. Then you can apply the restrictions to the new group.

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: Product Group Restrictions...Subscription Groups?

Post by mbartens » Fri Mar 20, 2015 1:45 am

ForumsAdmin wrote:There is a reason we don't make subscription groups available for assignment. Subscription groups are system groups automatically created and handled by the system behind the scenes. You can't rely on them to apply access restrictions on products.

If you want to apply restrictions on some products, create a new group and add those products to that group. Then you can apply the restrictions to the new group.

Is this still a valid answer? not sure if the rules have changed since then.

For my site I have people create a subscription and then there are "member only" products so I would need to associate those products to a subscriber group.
What are the repercussions of changing "LoadNonSubscriptionGroups" on the product level?
May

Post Reply