PDA

View Full Version : [Catalog Issue] Image Zoomer



Pr0ject
03-16-2012, 02:56 PM
I am having problems with the image zoomer.

The cloud zoom is working but the slimbox image zoomer is having problems.
I am confused because
on some pages

CookwarePro.com : Winco 12" Locking Utility Tong UTS-12K [UTS-12K] - $4.40 Restaurant Equipment & Supplies (http://cookwarepro.com/winco-12-locking-utility-tong-uts12k-p-2335.html)
it doesn't work
on others....
CookwarePro.com : Turbo Air Three Door Under Counter Refrigerator - TUR-72SD [TUR-72SD] - $2,184.73 Restaurant Equipment & Supplies (http://cookwarepro.com/turbo-air-undercounter-refrigerator-tur72sd-p-1740.html)
it works fine.

Anyone have any ideas?

Pr0ject
03-16-2012, 03:03 PM
nevermind figured it out, it has to do with the quotation mark in the title of the item.

So does anyone know how I can fix this?

Pr0ject
03-16-2012, 05:56 PM
Solution:
change line 129 of
includes\modules\dynamic
from
$sb_string = '[["' . $lightlarge . '", "' . $product_info['products_name'] . '"]]';
to

$sb_string = '[["' . $lightlarge . '", "' . htmlspecialchars($product_info['products_name']) . '"]]';

pgmarshall
03-17-2012, 01:31 AM
Thanks for the code fix!

r1737 - oscmax2 - osCmax - osCommerce Maximized - Google Project Hosting (http://code.google.com/p/oscmax2/source/detail?r=1737)

Regards.