Results 1 to 5 of 5

Where do I remove these parenthesis?

This is a discussion on Where do I remove these parenthesis? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; When receiving an order it shows these parenthesis after the product title, where can I remove them at? 1 x ...

      
  1. #1
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Where do I remove these parenthesis?

    When receiving an order it shows these parenthesis after the product title, where can I remove them at?

    1 x #517 (3) Primitive Welcome () = $44.99

  2. #2
    Member Cisco's Avatar
    Join Date
    Feb 2003
    Posts
    89
    Rep Power
    0


    Default RE: Where do I remove these parenthesis?

    At exactly which part of OSCMAX?

    Admin Customer Orders?

    Email Invoice?

  3. #3
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default RE: Where do I remove these parenthesis?

    The email invoices that are sent.

  4. #4
    Member Cisco's Avatar
    Join Date
    Feb 2003
    Posts
    89
    Rep Power
    0


    Default RE: Where do I remove these parenthesis?

    Are you using a product Model Number?

    That is what the two () is for.

    I think that is in the admin/invoice.php line 139

  5. #5
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default RE: Where do I remove these parenthesis?

    There isnt anything but a table tag on line 139. I dont know where the parenthesis are needed and where they could be removed..this is the code that I have for admin/invoice.php

    Code:
    <?php
    /*
      $Id: invoice.php,v 1.1.1.1.2.1.2.2 2005/09/21 20:57:59 Michael Sasek Exp $
    
      osCMax Power E-Commerce
      http://oscdox.com
    
      Copyright (c) 2003 osCommerce
    
      Released under the GNU General Public License
    */
    
      require('includes/application_top.php');
    
      require(DIR_WS_CLASSES . 'currencies.php');
      $currencies = new currencies();
    
      $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']);
      $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'");
    
      include(DIR_WS_CLASSES . 'order.php');
      $order = new order($oID);
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    
    <!-- body_text //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
            <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td colspan="2"><?php echo tep_draw_separator(); ?></td>
          </tr>
          <tr>
            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main"><b><?php echo ENTRY_SOLD_TO; ?></b></td>
              </tr>
              <tr>
                <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->customer, 1, '', '<br>'); ?></td>
              </tr>
              <tr>
                <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
              </tr>
              <tr>
                <td class="main"><?php echo $order->customer['telephone']; ?></td>
              </tr>
              <tr>
                <td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td>
              </tr>
            </table></td>
            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main"><b><?php echo ENTRY_SHIP_TO; ?></b></td>
              </tr>
              <tr>
                <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
            <td class="main"><?php echo $order->info['payment_method']; ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr class="dataTableHeadingRow">
            <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td>
            <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td>
          </tr>
    <?php
        for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
          echo '      <tr class="dataTableRow">' . "\n" .
               '        <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
               '        <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
    
          if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) {
            for ($j = 0; $j < $k; $j++) {
              echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'];
              if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')';
              echo '</i></small></nobr>';
            }
          }
    
          echo '        </td>' . "\n" .
               '        <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n";
          echo '        <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n";
          echo '      </tr>' . "\n";
        }
    ?>
          <tr>
            <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2">
    <?php
      for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
        echo '          <tr>' . "\n" .
             '            <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" .
             '            <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" .
             '          </tr>' . "\n";
      }
    ?>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <!-- body_text_eof //-->
    
    <br>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Similar Threads

  1. How to remove....
    By Christy in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 09-02-2004, 01:54 PM
  2. Remove BTS from MS2-MAX???
    By cxm322 in forum osCMax v1.7 General Mods Discussion
    Replies: 21
    Last Post: 05-05-2004, 03:24 PM
  3. How to remove catalog
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 02-20-2004, 06:23 AM
  4. Please help - need to remove GV feature
    By stando in forum osCmax v1.7 Discussion
    Replies: 13
    Last Post: 02-06-2004, 04:14 AM
  5. how to remove
    By demo in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 08-19-2003, 08:59 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
  •