![]() |
If statement to limit content by membership level
Hi,
Previous solutions to limit content access by membership don't seem to be applicable in X-Cart 4.4.5 (http://forum.x-cart.com/showthread.php?p=172832 for example) Does anyone know how to tap into the membership level variable in X-Cart 4.4.5? |
Re: If statement to limit content by membership level
With older versions we added the following line towards the bottom of include/check_useraccount.php:
PHP Code:
|
Re: If statement to limit content by membership level
This is still working as of 4.4.5, thanks for the help!
|
Re: If statement to limit content by membership level
This is still working as of 4.5.4
The variable is {$user_membershipid} Works in catalog and product detail pages perfectly. Thanks for sharing. |
All times are GMT -8. The time now is 02:11 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.