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:

  1. Change the lines:

    // LARGE IMAGES
    if (!empty($display_lgimage1))
    echo "$display_lgimage1";
    if (!empty($display_lgimage2))
    echo "$display_lgimage2";
    if (!empty($display_lgimage3))
    echo "$display_lgimage3";

    to:

    // START ROW
    echo "";
    // LARGE IMAGES
    if (!empty($display_lgimage1) OR !empty($display_lgimage2) OR !empty($display_lgimage3))
    {
    echo "";
    echo $display_lgimage1 ."
    " .$display_lgimage2 ."
    " .$display_lgimage3; echo ""; } // START PRODUCT CELL echo "";
  2. Add the lines:

    // END PRODUCT CELL
    echo "
  3. "; // END ROW echo "";

    just above the lines:

    echo "";
    echo "
";
  • Save and reload the file.

  • Version 2.55:

    1. Open the products_detail.php page in the /enc/ folder.

    2. 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 "";

      and change to:

      echo "$stripitem";
      
    3. Find the line:

      echo "
    4. ";

      and change to:

      echo "$stripitem";
      
    5. Find the line:

      echo "
    6. ";

      and change to:

      echo "$stripitem";
      
    7. 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 "
    8. "; } echo "";
      We use cookies to enhance your web site experience. By using this site, you agree to our use of cookies. Please view our privacy policy for details.
      © 2018. All rights reserved.
      ";
    9. Find the line:

      echo "
    10. $stripitem
      $stripitem
      $stripitem
      "; echo "";
    11. Find the lines:

      // END ORDER DETAILS W/ BUTTON
      }

      and change them to:

      // END ORDER DETAILS W/ BUTTON
      echo "
    12. "; echo "