![]() |
If Satement For Membership Help
I am trying to code an if statement for membership where the actual membership level is hidden on the checkout page but defaults to the membership level that I choose.
I believe the code I need to alter is listed below. I have the default membership loading to Premium, just can not figure out how to hide the selection box from the customer. <tr> <td class="data-name">{$lng.lbl_signup_for_membership}</td> <td></td> <td> <select name="pending_membershipid"> {*<option value="">{$lng.lbl_not_member}</option>*} {foreach from=$membership_levels item=v} <option value="{$v.membershipid}"{if $userinfo.pending_membershipid eq $v.membershipid} selected="selected"{/if}>{$v.membership}</option> {/foreach} </select> </td> </tr> |
Re: If Satement For Membership Help
You can comment out that whole section and replace it with
<input type="hidden" name="pending_membership" value="xxx" /> where xxx is the membershipid. |
All times are GMT -8. The time now is 10:49 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.