Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,562
    Plugin Contributions
    6

    Default Re: Product ID number not showing on invoice

    Look for the code around line 394 in the:
    /admin/orders.php

    where the products_name is displayed and try changing to:
    Code:
               '            <td class="dataTableContent" valign="top">' . 'ID#' . $order->products[$i]['id'] . ' - ' . $order->products[$i]['name'];
    That should display the products_id when you edit the Order ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  2. #12
    Join Date
    Oct 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Product ID number not showing on invoice

    THANKS SO MUCH FOR EXPLAINING THIS. I ADDED THIS AND NOW WHEN I CLICK ON AN ORDER IN "ADMIN HOME" AND CLICK ON THE ACTUAL ORDER, I CAN SEE THE products_id=xxxx NEXT TO THE TITLE. EXAMPLE:

    1 x ID#XXXX - part title here 0% $amount $amount $amount $amount

    ALSO, IF YOU WANT THIS TO SHOW UP WHEN YOU CLICK ON INVOICE (from admin and not paypal), THEN ADD THAT CODE IN POST #11 THAT "Oba-san" MENTIONED TO /admin/invoice.php

    REMEMBER TO MAKE BACKUP BEFORE EDITING FILE. NEVER KNOW.


    note: If you want the products_id= to show up BEFORE the quantities box, then add that the code from "Oba-san" on the line above what he mentioned. Here is my code for that part of the admin/orders.php file I edited that I used to have the order number before the quantities. So, my order reads

    Products ID="what ever your product id is" - "quantity ordered" x "whatever product name you put when listed" - "tax rate" "price incl." "price exc" "total ex" "total inc"

    Code:
    '            <td class="dataTableContent" valign="top" align="right">'. 'Products_ID='. $order->products[$i]['id'] . ' - ' .$order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
               '            <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
    I DO NOT KNOW WHAT CUSTOMER SEES, BUT I WILL CHECK TOMORROW AND UPDATE. I AM JUST HAPPY THAT I NOW CAN SEE EASILY EXACTLY WHAT product_id= CUSTOMER ORDERED.

    THANKS

  3. #13
    Join Date
    Dec 2011
    Posts
    16
    Plugin Contributions
    0

    Default Re: Product ID number not showing on invoice

    Quote Originally Posted by Ajeh View Post
    Look for the code around line 394 in the:
    /admin/orders.php

    where the products_name is displayed and try changing to:
    Code:
               '            <td class="dataTableContent" valign="top">' . 'ID#' . $order->products[$i]['id'] . ' - ' . $order->products[$i]['name'];
    That should display the products_id when you edit the Order ...
    I have a slightly different requirement. In my shop, The Model Number assigned to the Attribute (my_stock_id) is what I need to see on the Order Screen, Packing List and Invoice, and I could care less about the Product ID#.

    Most of my products have attributes, but some don't - so I need to be able to handle both, by listing either my_stock_id from the (products_with_attributes_stock) table, or the products_model from the (products) table.

    I've looked at the three files impacted by such change, but I'm not prepared to blindly delve in, since I know nothing about PHP.

    Can you help?

  4. #14
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,562
    Plugin Contributions
    6

    Default Re: Product ID number not showing on invoice

    I do not use your add on so I do not know anything about the table and its relationship to the Products or Attributes to tell you what to do here ...

    Usually, you need to do a select for the information in the table to be able to get the data that you need ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #15
    Join Date
    Dec 2011
    Posts
    16
    Plugin Contributions
    0

    Default Re: Product ID number not showing on invoice

    Thanks , I'll try another forum.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Show Featured Products on Missing Product Page showing products weird
    By margecc in forum Customization from the Admin
    Replies: 7
    Last Post: 24 Sep 2009, 05:01 AM
  2. "Units in Stock" still showing...help?
    By Janice in forum Basic Configuration
    Replies: 21
    Last Post: 5 Feb 2009, 01:57 PM
  3. Which Images are they ?
    By Vinyl Signs in forum Customization from the Admin
    Replies: 6
    Last Post: 27 Jan 2008, 08:50 PM
  4. Product suddenly not showing in customer's download area - related to attributes?
    By monogram in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Apr 2007, 05: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
  •