Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Hiding membership level in the registration page

 
Closed Thread
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 07-13-2016, 11:25 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Hiding membership level in the registration page

Hi, I haven't been able to remove the membership level field in the registration page. Unfortunately, to go to the page, I have to disconnect, so I can't use
the Webmaster module to determine the template involved...

Anyhow, here is I tried already. I deactivated membership levels in the admin area, I even removed all of them, but the field still shows up.

I activated custom skin module, and created a template ustom_skin/default/en/common/select_membership.tpl to overwrite the corresponding template,
but this changes nothing. It looks like the file classes/XLite/View/MembershipSelect.php contains the relevant function. However, there is
a comment in it saying that it is a deprecated unused class. So I am quite at a loss. Would anyone know what to look at?

Thank you very much in advance.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
  #2  
Old 07-13-2016, 10:11 PM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Re: Hiding membership level in the registration page

I found that I could do this by making these elements invisible by css, but I would
prefer not rendering them in the first place (it would reduce the server load). Any idea?
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
  #3  
Old 07-13-2016, 11:10 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Hiding membership level in the registration page

Hello Ed,

Please add your X-Cart version to the signature and read the forum rules. Is it for X-Cart 5?

In X-Cart 5 you should untick the "Allow customers to sign up for membership" checkbox on the "Store setup" -> "Cart & checkout" page .
__________________
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
  #4  
Old 07-16-2016, 06:47 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Re: Hiding membership level in the registration page

Thank you, it works. And thank you also for pointing out the absence of version information.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Closed Thread
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:35 AM.

   

 
X-Cart forums © 2001-2020