Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Click to enlarge option showing up for some products, but not others?


silvermondo

Recommended Posts

Hi guys,

 

I'm placing products into my osCommerce store. I enabled the click to enlarge function by changing the large image directory;

And everything seemed to be fine and dandy, with customers being able to click and view larger versions of my product thumbnails.

 

However recently, I put in two test products using pictures I've taken; this time, the click to enlarge option did not appear, while for my older products the click to enlarge option was still there. But the bizarre thing is before yesterday, I put in a test product using the same picture; only the click to enlarge option did appear.

 

I called my website host but they have no clue what the problem is.

 

Anyone know why this might be happening?

Link to comment
Share on other sites

If you have puncuation like the apostrophe or quotes in the products name it mucks up the java script syntax and it won't work.

 

Stock osC code can handle it:

 

addslashes($product_info['products_name'])

 

Some templates omit that important piece of code.

 

Without a URL to see for myself, that's all I have seen that can cause problems.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I suspect Jim has hit the nail on the head, this thread may help too http://www.oscommerce.com/forums?showtopic=353800

 

 

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...