Hi all, I want to put different template for selected price group... I have put {if $smarty.request.price_group eq "1" or "2"} this text {elseif $smarty.request.price_group eq "3" or "4" or "5" or "6" or "7"} other text {/if} but it always go to the first one eventhough the price group id is not 1 or 2.. but it display the right product depends on the price group id... I have also tried {if $smarty.request.price_group eq "1" or "2"} this text {else} other text {/if} but it showed the same result as above could anyone can help me, please? thanks
found it nevermind guys.. I've found it how... here it is... {if $smarty.request.price_group eq "1" or $smarty.request.price_group eq "2"} this text {else} other text {/if} hope it would be useful for someone.. thanks anyway
Hi All I am very new to PHP and the above selected price group code is exactly what I need, but I do not know witch file to place it in. I went to Admin signup_link_wizard.php, then Templates signup_html, Not sure. could anyone can help me, please? thanks
Blame Alex for not providing enough docs. Well, you will have to get the price groups detected somehow, for e.g. through the browser URL, etc. Once it is detected, then you can apply the above code in _ANY_ of the template generated by the amember scripts, I beleive, though not tested... For e.g. a user is signing for a price_group 8. For this price group, you can make amember generate some special text, html, etc. for that particular user during signup or after login show something special for that group... Get it?