Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 8 - Pages: 1 - Last Post: 1 Nov 23, 10:31 Last Post By: rcunnew
rcunnew

Posts: 15
Registered: 23-Feb-2008
Lightbox not working properly
Posted: 29 Oct 23, 18:19
 
I've been revisiting the shopping cart, trying various options with a test project and a small test album, generating new albums to view the results. But the lightbox info panel keeps disappearing and it's only after lots of clearing of folders, regenerating new albums etc that I can get it back.

The problem varies; at the moment clicking on a thumbnail doesn't even do anything, or may just display the JPG with nothing else, I don't get the lightbox at all. You can see the latest version here: http://robertcunnew.uk/Test.

Can anyone help?

Edited by: rcunnew on 1 Nov 2023, 10:31
JeffTucker

Posts: 7,899
Registered: 31-Jan-2006
Re: LIghtbox not working properly
Posted: 29 Oct 23, 18:48   in response to: rcunnew in response to: rcunnew
 
I know very little about the shopping cart functionality, but I'm seeing a consistent browser console error in the Javascript:
all.min.js?v=5.1.0:9 Uncaught TypeError: Cannot read properties of undefined (reading 'split')
    at Object.getPriceRange (all.min.js?v=5.1.0:9:21014)
    at all.min.js?v=5.1.0:24:16259
That's almost certainly what's killing the lightbox display.

You don't seem to have any pricing options under Tiger > Sections > Shopping cart > Pricing. I suspect you have to have something there.
rcunnew

Posts: 15
Registered: 23-Feb-2008
Re: LIghtbox not working properly
Posted: 29 Oct 23, 19:03   in response to: JeffTucker in response to: JeffTucker
 
If I supply prices etc in the shopping cart settings window then it does work OK, you're quite right.

But my understanding is that you can supply prices for particular images instead, which is what I've tried to do. I don't want to give global prices as not all images are going to be available as prints.
JeffTucker

Posts: 7,899
Registered: 31-Jan-2006
Re: LIghtbox not working properly
Posted: 29 Oct 23, 19:17   in response to: rcunnew in response to: rcunnew
 
I'll have to let Laza clarify this. I just have a memory flag set that there has to be a global price, but then each image can have its own, unique shop options.
RobM

Posts: 3,911
Registered: 4-Aug-2006
Re: LIghtbox not working properly
Posted: 29 Oct 23, 20:46   in response to: JeffTucker in response to: JeffTucker
 
JeffTucker wrote:
I'll have to let Laza clarify this. I just have a memory flag set that there has to be a global price, but then each image can have its own, unique shop options.
Maybe this will help: https://jalbum.net/forum/message.jspa?messageID=363662#363662
rcunnew

Posts: 15
Registered: 23-Feb-2008
Re: LIghtbox not working properly
Posted: 29 Oct 23, 21:10   in response to: RobM in response to: RobM
 
Thanks but I'm not sure if it does, I'm sure I remember when I was looking at the shopping cart a couple of years ago that you could have no global prices and just specify prices in Image
Data>Shop Options for those individual items to be made available. Images without this information wouldn't be available for sale.
RobM

Posts: 3,911
Registered: 4-Aug-2006
Re: LIghtbox not working properly
Posted: 29 Oct 23, 22:00   in response to: rcunnew in response to: rcunnew
 
rcunnew wrote:
Thanks but I'm not sure if it does, I'm sure I remember when I was looking at the shopping cart a couple of years ago that you could have no global prices and just specify prices in Image
Data>Shop Options for those individual items to be made available. Images without this information wouldn't be available for sale.
Are you thinking of this? See the reply be Laza:
https://jalbum.net/forum/thread.jspa?messageID=359292&#359292
Using a '-' sign to disable global shop options.
rcunnew

Posts: 15
Registered: 23-Feb-2008
Re: LIghtbox not working properly
Posted: 30 Oct 23, 10:42   in response to: RobM in response to: RobM
 
Thanks, that sounds promising ... But I've just tried it and it doesn't work for me. I have shopping cart enabled, with global price information and minuses for images or folders to be excluded, and clicking on thumbnails does nothing, I can't get the lightbox.
rcunnew

Posts: 15
Registered: 23-Feb-2008
Re: LIghtbox not working properly
Posted: 31 Oct 23, 10:53   in response to: RobM in response to: RobM
 
Thanks again, Rob. I tried again, first clearing all jAlbum stuff from the image folders - and it works. Now I can start testing the cart properly.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums