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>
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
|