Renewals for -2 (minus) product groups??? I have a product group as -2. (Cheaper version of prod 1.) However, when a member wishes to renew his subscription, the -2 product won't show up on his member.php page to allow renewal. How can I allow a member to 'renew' his -2 membership?
Change the following line in member.php PHP: } elseif ($v['price_group'] < 0){ unset($products_to_renew[$k]); to the following PHP: } elseif ( ($v['price_group'] < 0) && ($v['price_group'] != -2) ){ unset($products_to_renew[$k]); By default member.php/member.html will not make products available for renewal if the product group is negative. The above will allow any products in product group that have a value of -2 to be offered for renewal. Jimmy
Yes, thank you. I wanted to... - Only show certain products on the default sign up page (price group=default) - Some products not show on default page (negative price group), but show only on their own page. - Yet, have ALL the products show on member page. I took your advice and just removed the elseif statement and chose not to unset any of them. Thanks again.
Can someone explain why Amember set this up the way they did? It seems that you would want people to renew the same product they bought (or at least be able to). Making this impossible also makes it complicated to manage custom fields, etc.
You always can create separate product for renewal configure amember CP -> manage Products -> Edit Product ->Require another product/Disallow purchase of this product depends on subscription that user have already. So you have full control of what can be available in renewal page even if products with negative price groups are not available by default.
So, things with a positive price group will show up in the "add/renew" window? This might be what I was missing. So I can have the custom fields show on groups -1 and 1 and then use 1 for the renewals? Something like that. Point is, if they are renewing something that has custom fields, I don't want them to have to fill out a new set of fields. At best they should just have to edit what is already there.