| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Hiding Membership dropdown from register.php | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hello ..
Is there a way in which i can hide the Membership dropdown combo from the 'Create Profile' page if there arent any membership levels created ? I'm looking at membership_signup.tpl which has the following code: Quote:
I know some smarty code is involved, but i'm not sure on how to achieve this this ? Any ideas ? Regards Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#2
|
|||||||
|
|||||||
![]() Just un-check the Moderated sign-up for membership: checkbox in General settings and it will go away.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi,
Is there a way to display certain membership levels on the registration page but keep others hidden (only available in the admin side)? ie: on the registration page, I want only "retail" and "wholesale" to be available. But after someone registers, I want to be able to, on the admin side, change it to a specific membership designation that is only available on the admin side. Any thoughts?
__________________
Cool. X-Cart v 4.1.8 (Live Site - Slowly dying) X-Cart v 4.1.11 (In Development- Being born) Joomla 1.5.6 + X-cart 4.1.11 Integration complete ![]() |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Quote:
I too would like to achieve this. I don't want to the user to decide what level they are at, but instead should be left to the admin to determine what levels other than a standard user they are elevated to. Example is I created a level "Insider" which users would receive special dealas and notifications that standard users will not have ready access to.
__________________
Was 4.0.17 Gold w/3rd party modules ![]() Now 4.5.5 Gold with core modules ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() I think I figured out a quick fix.
In the following section of /admin/main/membership_signup.tpl Code:
add the following if statement as follows: Code:
where the membershipid is equivalent to the ID of the membership level you would like to display in the drop-down (Hint: try experimenting with 1, 2, etc until you ahieve your desired options set) With this done, you will be able to create as many membership levels on the admin side, and designate a user to a particular membership level after they register without them having access to it on the registration page. Hope this helps!
__________________
Cool. X-Cart v 4.1.8 (Live Site - Slowly dying) X-Cart v 4.1.11 (In Development- Being born) Joomla 1.5.6 + X-cart 4.1.11 Integration complete ![]() |
|||||||
#6
|
|||||||
|
|||||||
![]() Anybody try this yet?
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
|
|||
X-Cart forums © 2001-2020
|