![]() |
Membership Level Mod Help
On the One Page Checkout, I would like to hide the membership field but still have it set the membership level set to Premium for the customer . I believe that have the code that needs to be modified below, but do not know how to make it work.
<ul id="create_account_box"> {if $config.General.membership_signup eq "Y" and $membership_levels} <li class="single-fiel {capture name=regfield} <select name="pending_membershipid" id="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> {/capture} {include file="modules/One_Page_Checkout/opc_form_field.tpl" content=$smarty.capture.regfield name=$lng.lbl_signup_for_membership field='pending_membershipid'} </li> {/if} |
Re: Membership Level Mod Help
The pending membership field means that customers wont be given this membership level right after the registration.
The membership should be further changed by admin (according to the "pending membership" field value if required). If you want it to be assigned automatically a modification in PHP code will be required. Check this thread -> http://forum.x-cart.com/viewtopic.php?t=3687 |
All times are GMT -8. The time now is 11:58 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.