Post by belladaisy2018 » Mon Apr 09, 2018 10:00 am

Hi,

I've set up my site to display prices for logged in users only. Unfortunately, this means that when guests view my site, instead of there being a blank space where the price should be, they see the text 'null' instead.

I thought this was caused by a piece of javascript code on one of my tpl pages, which I tried commenting out, but the 'null' text was still present.

If anyone could offer some advice on how to remove the 'null' text for guests, it would be greatly appreciated.

Here's a sample page showing my issue: http://www.aardwolfaustralia.com/liftin ... lf-lifters

Cheers


Posts

Joined
Fri Apr 06, 2018 11:35 pm

Post by rjcalifornia » Mon Apr 09, 2018 11:08 pm

belladaisy2018 wrote:
Mon Apr 09, 2018 10:00 am
Hi,

I've set up my site to display prices for logged in users only. Unfortunately, this means that when guests view my site, instead of there being a blank space where the price should be, they see the text 'null' instead.

I thought this was caused by a piece of javascript code on one of my tpl pages, which I tried commenting out, but the 'null' text was still present.

If anyone could offer some advice on how to remove the 'null' text for guests, it would be greatly appreciated.

Here's a sample page showing my issue: http://www.aardwolfaustralia.com/liftin ... lf-lifters

Cheers
The link returns a not found page. Ok, how are you checking for logged in users? What are you doing in your code if it detects a visitor?

Can you post some sample code?

Image


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide
Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], mylasbags and 22 guests