Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Change Info Page Layout

    Start with this edit in red
    Code:
    <?php
    /**
     * Page Template
     *
     * Loaded automatically by index.php?main_page=product_info.<br />
     * Displays details of a typical product
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_product_info_display.php 3435 2006-04-14 03:42:46Z ajeh $
     */
     //require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
    ?>
    
    <div class="centerColumn" id="productGeneral">
      <!--bof Form start-->
      <?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
      <!--eof Form start-->
      <?php if ($messageStack->size('product_info') > 0) echo $messageStack->output('product_info'); ?>
      <!--bof Category Icon -->
      <?php if ($module_show_categories != 0) {?>
      <?php
    /**
     * display the category icons
     */
    require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?>
      <?php } ?>
      <!--eof Category Icon -->
      <!--eof Prev/Next top position -->
      <?php if (PRODUCT_INFO_PREVIOUS_NEXT == 1 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
      <?php
    /**
     * display the product previous/next helper
     */
    require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
      <?php } ?>
      <!--eof Prev/Next top position-->
      <?php echo '<div id="leftFloat"' . ' style="width:' . (MEDIUM_IMAGE_WIDTH + 40) . 'px">'; ?>
    <!--bof Main Product Image -->
      <?php
      if (zen_not_null($products_image)) {
      ?>
      <?php
    /**
     * display the main product image
     */
       require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
      <?php
      }
    ?>
      <!--eof Main Product Image-->
       <br class="clearBoth" />
    Zen-Venom Get Bitten

  2. #2
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: Change Info Page Layout

    Ok, I got that changed. Now what do need to do next?

 

 

Similar Threads

  1. v139h change product info page layout
    By shags38 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Jan 2015, 01:50 PM
  2. v151 checkout step2-payment info, change layout totals add empty line
    By wjansen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Oct 2012, 12:52 AM
  3. Change Category Page Layout to New Products Layout
    By tonemap in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Jan 2010, 11:30 PM
  4. Replies: 5
    Last Post: 25 May 2009, 11:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg