Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    May 2006
    Posts
    17
    Plugin Contributions
    0

    Default Adding additional information to cart/order/packing slip

    Hi

    I posted this already but I think in the wrong part of the forum, so I am reposting it here:

    Been reading through this forum and can't find any help. I have the situation where two different products can have the same name, yet are in different categories.

    Now my dillema is that on the shopping cart and order and packing slip only the name appears and not the category which it came from (or at least the product id). So far it looks like I need to edit templates. I think I found the files I am suppose to edit:

    admin/invoice.php
    admin/packingslip.php
    includes/templates/MYTEMPLATE/templates/tpl_shopping_cart_default.php (using override)

    I tried this in invoice.php:

    <td class="dataTableContent" valign="top">' . $order->products[$i]['name'] . $order->products[$i]['id'];

    yet to no avail, then I tried this:

    <td class="dataTableContent" valign="top">' . $order->products[$i]['name'] . $order->products[$i]['name'];

    which resulted in the name being printed twice at the right place, so I am on the right track. Why is 'id' not working?

    PS Changing the cart is not critical, however, the invoice and packing slip is. There is no need to display the model on the packing slip or invoice so that can be replaced with category (I am using model for other details and thus can't use it to display the category it is in)
    Last edited by Talib; 9 Jun 2006 at 08:43 AM.

 

 

Similar Threads

  1. v139h Adding Manufacturers_id to Invoice/packing Slip
    By NickyCarroll in forum Customization from the Admin
    Replies: 3
    Last Post: 25 Apr 2012, 10:44 PM
  2. Adding a line of text to packing slip
    By Big_Woody in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 31 Oct 2007, 10:16 PM
  3. Adding my comments to a packing slip?
    By HandcraftedUK in forum Managing Customers and Orders
    Replies: 4
    Last Post: 2 May 2007, 09:30 AM
  4. Adding additoinal information to cart/order/packing slip
    By Talib in forum Managing Customers and Orders
    Replies: 11
    Last Post: 12 Feb 2007, 09:09 PM
  5. Packing Slip - Adding Manufacturer
    By Pip in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Dec 2006, 03:37 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR