| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
If statement help - wholesale | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() Sorry, like I said, probably too many customizations
![]() Put this in your auth.php: Code:
Then output to your template: ID: {$userinfo.membership} Let me know what is output. |
|||||||||
#12
|
|||||||||
|
|||||||||
![]() No problem, I really appreciate your help, Jon.
![]() Unfortunately, that made the front-end of the site blank again.
__________________
~ Andrea Beight |
|||||||||
#13
|
|||||||||
|
|||||||||
![]() Are you able to provide FTP to the site? It would be easier to see the exact files and be able to debug without causing problems to the customers
|
|||||||||
#14
|
|||||||||
|
|||||||||
![]() Absolutely, I'll send you a PM.
__________________
~ Andrea Beight |
|||||||||
#15
|
|||||||||
|
|||||||||
![]() Here's the code to us:
In auth.php before ?> Code:
Code in your templates: Code:
|
|||||||||
#16
|
|||||||||
|
|||||||||
![]() Yay, it worked!
![]()
__________________
~ Andrea Beight |
|||||||||
#17
|
|||||||
|
|||||||
![]() Which template file has the homes main content information. I want a link to be displayed on the main home page as long as the user has a Premium membership
__________________
x-cart-4.1.7gold Josh |
|||||||
#18
|
|||||||||
|
|||||||||
![]() skin1/customer/main/welcome.tpl
|
|||||||||
#19
|
|||||||
|
|||||||
![]() I get an error when putting that code in my auth.php
__________________
x-cart-4.1.7gold Josh |
|||||||
#20
|
|||||||||
|
|||||||||
![]() The code for 4.1.7 would be different, I believe:
Code for auth.php before ?> Code:
Code for use in template: Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|