| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
product.tpl - check for membership | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Can someone send me the logic (if else) statements for checking whether or not a user is logged in and a member of a certain membership level for use in product.tpl.
Thank you. v4.1.9
__________________
Juan (Teksavers) |
|||||||
#2
|
|||||||
|
|||||||
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() You da man! Thanks.
__________________
Juan (Teksavers) |
|||||||
#4
|
|||||||
|
|||||||
![]() The logic doesn't seem to work:
{if $user_membership ne "Premium"} I have a user who is a member of "Premium", but the logic doesn't work. Is there something I am missing?
__________________
Juan (Teksavers) |
|||||||
#5
|
|||||||
|
|||||||
![]() $user_membership may not work with 4.1.9. Can someone confirm?
__________________
Juan (Teksavers) |
|||||||
#6
|
|||||||
|
|||||||
![]() Read through the whole thread, there are php adjustments you need to make as well.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|