Detail Page Layout Changes
This modification changes the product layout so that the images are all on the left and the product details displayed to the right.
Version 2.72 or higher:
-
Change the lines:
// LARGE IMAGES if (!empty($display_lgimage1)) echo "
"; if (!empty($display_lgimage2)) echo "$display_lgimage1 "; if (!empty($display_lgimage3)) echo "$display_lgimage2 ";$display_lgimage3 to:
// START ROW echo "
"; // LARGE IMAGES if (!empty($display_lgimage1) OR !empty($display_lgimage2) OR !empty($display_lgimage3)) { echo " ";"; echo $display_lgimage1 ." "; } // START PRODUCT CELL echo "
" .$display_lgimage2 ."
" .$display_lgimage3; echo " "; // END ROW echo "";
Add the lines:
// END PRODUCT CELL echo "
just above the lines:
echo ""; echo "
Save and reload the file.
Version 2.55:
-
Open the products_detail.php page in the /enc/ folder.
-
Find the line:
echo "
";
and just underneath, add:
echo "
"; // If there is a larger image, create image if ($searchrow[LgImage] OR $searchrow[LgImage2] OR $searchrow[LgImage3]) echo " ";"; ";Find the line:
echo "
";and change to:
echo "
";
Find the line:
echo "
";and change to:
echo "
";
Find the line:
echo "
";and change to:
echo "
";
Find the line:
// Display title information
and just *above* it, add:
if ($searchrow[LgImage] OR $searchrow[LgImage2] OR $searchrow[LgImage3]) echo "
and just *under* it, add:
echo "
"; echo " "; } echo "";
"; echo "Find the lines:
// END ORDER DETAILS W/ BUTTON }
and change them to:
// END ORDER DETAILS W/ BUTTON echo "