osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-13-2006, 06:04 PM
osCMax Testing Team
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 149
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 3
ALElder
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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-13-2006, 06:12 PM
osCMax Testing Team
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 149
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 3
ALElder
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">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 02:27 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax