Clicking a subscription + something else that requires it
Let's assume user A has been subscribed but is not any more. He wants to click an item reserved to subscribers and therefore wants to click both the subscription and the item he desires. Currently, he needs to first click the subscription then click the item.
This would need to be solved in
eboutic.views.EbouticMain:add_product() by not only checking on the current groups the user is in but also checking the basket if it contains any subscription product.
This is what I found:
counter.Product has a foreign key on
counter.ProductType and use
settings.SITH_PRODUCTTYPE_SUBSCRIPTION. Is this right?