Zen Cart Logo
Forums / General Questions / Help with unwanted code on product page

Help with unwanted code on product page

Locked

Views: 590

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Dec 2009, 3:24 AM
#1
808helmets avatar

808helmets

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Help with unwanted code on product page

I have the following text showing on my product page:

xt' => "\n " . $link); $col ++; if ($col > (IMAGES_AUTO_ADDED -1)) { $col = 0; $row ++; } } // end for loop } // endif ?>

what needs to be adjusted?

Mahalo!

9 Dec 2009, 4:35 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,615
Plugin Contributions:
0

Re: Help with unwanted code on product page

Have you made any customizations to that page?

9 Dec 2009, 4:45 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Help with unwanted code on product page

That sounds like some of the code in the Zen Lightbox mod.
Search in Tools > Developers Toolkit for a distinctive snippet like
$col > (IMAGES_AUTO_ADDED
to find the file.

9 Dec 2009, 6:44 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Help with unwanted code on product page

Maybe you didn't change anything, but your template designer did.

<meta name="author" content="Hawa ii minis ports LLC" /> <meta name="generator" content="shopping cart program by Hawa iim inis ports .com" />

They are claiming to have written the entire platform. That's a big no-no.

Aside from that, this code is not standard in Zen Cart, even if something broke it and made it output like this:```

<!--bof Additional Product Images -->

xt' => "\n " . $link);
$col ++;
if ($col > (IMAGES_AUTO_ADDED -1)) {
$col = 0;
$row ++;
}
} // end for loop
} // endif

?> <!--eof Additional Product Images -->