Jump to content

this cracks me up


Guest

Recommended Posts

So, I went into the admin folder and selected product options - found this gem of a comment in the code -

"// build drop down list of products if you have thousands start to s**t your self..... now!"

Cracked me up. On this note, however, how do I change the product options page - like when I add options to products so that it shows more than 10 items before going to the next page? Anyone know?

Cheers,

JOhn

Just figured it out - if you go into product_options under admin and edit this bit of code - actually you just edit one piece - just giving an idea of placement. I changed the value fro $limit from the filled in '10' to '100'. Easy, easy. Sweetness. Back to shitting myself. :)

END ASSIGNMENT TO PRODUCT

?>

<table width="100%" border="0" cellpadding="5" cellspacing="0">

<tr>

<td width="50%" valign="top">

<!-- START OF OPTIONS -->

<?

echo"<b>$la_opt_one</b><br>";

$limit = 100;

if(empty($page)){

$page = 1;}

$limitvalue = $page * $limit - ($limit);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...