| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Registered User has a Pre-defined Membership | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Quote:
This is almost what I need, but I want anyone who registers to become a Premium member. In the above solution it shows that the user is assigned the pending membership, but I have now Unchecked the Moderated membership to make registering easier. I need something like $profile_values['membershipid'] = 'Premium'}; Im not sure if that is the correct way to do it, but that is essentially what i'm looking to do. This is for X-Cart 4.4.2 and 4.4.3 (im sure it will be same). Kindly advise. Thanks. |
|||||||
#2
|
|||||||
|
|||||||
![]() I am bumping this thread.
I am still interested in how I can pre-assign a newly registered user to having a premium membership right when they register, so that I don't have to manually do it when they make an account. Kindly advise and thanks. |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Here are some notes for 4.1 that might point you in the right direction:
include/register.php line 514 add: PHP Code:
|
|||||||||
|
#4
|
|||||||
|
|||||||
![]() Quote:
Thanks so much this worked perfectly! I had to put this code on line 680, this is where the profile fields are defined. Thanks again ![]() |
|||||||
#5
|
|||||||
|
|||||||
![]() For x-cart version 4.1.9 is there a way to show items based on the membership id in the welcome.tpl
I tried this but it did not work.. HTML Code:
__________________
X-cart Gold Version 4.1.9 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|