| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Membership Level Mod Help | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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}
__________________
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 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|