Results 1 to 2 of 2

Help Please Small issue with profuct_info.tpl please help

This is a discussion on Help Please Small issue with profuct_info.tpl please help within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I can make it look like I want but there is a problem with the add to cart button I ...

      
  1. #1
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    193
    Rep Power
    12


    Default Help Please Small issue with profuct_info.tpl please help

    I can make it look like I want but there is a problem with the add to cart button I put were I think the problem is please help

    Code:
    <table>
      <tr>    
    <td><php>
        <table><tr><td>
          <table>
           <tr><td>
            <table>
             <tr><td><img></td>
             <td></span><span>Product</span></td>
             <td><img></td></tr>  
            </table>
           </td></tr>
    <?php
      if ($product_check['total'] <1>
          <tr>
            <td><php> TEXT_PRODUCT_NOT_FOUND))); ?></td>
          </tr>
          <tr>
            <td><php></td>
          </tr>
          <tr>
            <td><table>
              <tr>
                <td><table>
                  <tr>
                    <td><php></td>
                    <td></a></td>
                    <td><php></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
    <php>display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span>' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
        } else {
    // BOF Separate Price per Customer
            $scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id =  '" . $customer_group_id . "'");
            if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) {
            $product_info['products_price']= $scustomer_group_price['customers_group_price'];
    	}
    // EOF Separate Price per Customer
          $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
        }
    
        if (tep_not_null($product_info['products_model'])) {
          $products_name = $product_info['products_name'] . '<br><span>[' . $product_info['products_model'] . ']</span>';
        } else {
          $products_name = $product_info['products_name'];
        }
    ?>
    
           <tr><td></td></tr> 
           <tr><td><img></td></tr>
           <tr><td>
            <table>
             <tr><td>  
    <display>
              <table>
                <tr>
                  <td>
    <php>
    <php>
              <script><!--
                document.write('<a><php><br><span><php></span></a>');
    //--></script>
    <noscript>
                <a><php><br><span><php></span></a>
    </noscript>
    <php>
                  </td>
                </tr>
    
              </table>
    <end>
    </td>
    
             <td></td>
             <td>
              <table>
               <tr><td></td></tr> 
               <tr><td>
    <php> date('Y-m-d H:i:s')) {
    ?>
          <tr>
            <td><php></td>
          </tr>
    <php>
          <tr>
          <td><php></td>
          </tr>
    <php>
    
               <tr><td></td></tr>   
               <tr><td><a style="text-decoration:underline"  class=pr_descr  <form><input> <input><input><br>Tell someone you know about this product.</form></td>
                  </tr></a></td></tr>
    
         <tr>
            <td><table>
              <tr>
                <tr><td></td></tr> 
               <tr><td><b><php></b></td></tr>
                <tr><td></td></tr>
               <tr><td><span>Only</span> <span><span><php></span></td></tr>
                   <tr><td></td></tr>
          <tr>
            <td><table>
              <tr>
                <td><table>
                  <tr>
                    <td><php></td>
                    <td></a></td>
                    <Wish>
                    <td><php></td>
                    <Wish>
                    <td><php></td>
                    <td><php></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
            </table></td>
          </tr>
          <tr>
            <td><php></td>
          </tr>
          <tr>
            <td>
    
               <tr><td></td></tr>
              </table>
             </td></tr>
             <tr><td></td></tr>
             <tr><td>
              <table>
               <tr><td></td>
               <td></td>
               <td></td></tr>
              </table>
             </td></tr>
             <tr><td></td></tr>
             <tr><td>
              <table>  
    <php>
              <p><php></p>
    <php> 0) {
    //++++ QT Pro: Begin Changed code
          $products_id=(preg_match("/^\d{1,10}(\{\d{1,10}\}\d{1,10})*$/",$HTTP_GET_VARS['products_id']) ? $HTTP_GET_VARS['products_id'] : (int)$HTTP_GET_VARS['products_id']); 
          require(DIR_WS_CLASSES . 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN . '.php');
          $class = 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN;
          $pad = new $class($products_id);
          echo $pad->draw();
    //++++ QT Pro: End Changed Code
        }
    ?>
            </td>
          </tr>
    <php>
          <tr>
          	<td>
    				<div>
    					<div><php></div>
    				</div>
    				<div>
    					<php>
       			        </div>
    	</td>
          </tr>
    <php>
          <tr>
            <td><php></td>
          </tr>
    <php> 0) {
    ?>
          <tr>
            <td><php></td>
          </tr>
          <tr>
            <td><php></td>
          </tr>
    <php>
                    <tr>
            <td><php></td>
          </tr>
          <tr>
            <td><php></td>
          </tr>
    
          <tr>
            <td><php></td>
          </tr>
          <tr>
            <td><table>
              <tr>
                <td><table>
                  <tr>
                    <td><php></td>
                    <td></a></td>
                    <Wish>
                    <td><php></td>
                    <Wish>
                    <td><php></td>
                    <td><php></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><php></td>
          </tr>
          <tr>
            <td>
    
    <php>
            </td>
          </tr>
        </table></form>

  2. #2
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    193
    Rep Power
    12


    Default Help Please Small issue with product_info.tpl

    Code:
          <tr>
            <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
              <tr class="infoBoxContents">
                <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
                  <tr>
                    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                    <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
                    <!-- Wish List 2.3 Start -->
                    <td align="center" class="main"><?php echo tep_draw_hidden_field('wishlist_action', 'add_wishlist') . tep_image_submit('button_wishlist.gif', IMAGE_BUTTON_ADD_WISHLIST, 'onClick="document.cart_quantity.action=\''. tep_href_link(FILENAME_WISHLIST, tep_get_all_get_params(array('action')) . 'action=add_wishlist') . '\';document.cart_quantity.submit();"'); ?></td>
                    <!-- Wish List 2.3 End   -->
                    <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
                    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
            </table></td>
          </tr>
          <tr>
            <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
          </tr>
          <tr>
            <td class="main">

Similar Threads

  1. Various small problems, well sort of small
    By spottedhaggis in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 03-23-2006, 09:53 AM
  2. small mod
    By mat123slade in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 01-18-2005, 08:13 AM
  3. Small Currency Problem
    By energeeuk in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-02-2004, 05:57 AM
  4. 2 small problems i am sure
    By crash3903 in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 07-09-2004, 11:18 AM

Bookmarks

Posting Permissions

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