View Single Post
  #11  
Old 06-09-2013, 12:22 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Automatic Membership Level

PS - if you use AlteredCart Checkout_One, add the <input type> lines in the file,

/skin/common_files/modules/Checkout_One/checkout_one_register_account.tpl

BEFORE:
Code:
<input type="password" autocomplete="off" name="passwd2" id="passwd2" size="32" maxlength="64" value="{if $login}filler{else}{$userinfo.passwd2}{/if}" onchange="javascript:checkoutDoPasswordsMatch();" />

INSERT:
Code:
<input type="hidden" name="membershipid" value="1" /> <input type="hidden" name="pending_membershipid" value="1" />

And then a new customer registering at checkout will automatically be assigned to your membershipid = 1 at checkout

IF you use other checkout templates, you will probably need to edit those.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote