Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Location
    Victoria, Australia
    Posts
    19
    Plugin Contributions
    0

    help question ID instead of Model on Invoice?

    Hi there zenners,

    Does anyone know if it is possible to replace the 'Model' Field with the ID number that ZenCart gives as a unique ID to the corresponding item?

    Thanks people!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: ID instead of Model on Invoice?

    You would need to use the:
    $order->products[$i]['id']

    for the products_id on what is in 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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2007
    Location
    Victoria, Australia
    Posts
    19
    Plugin Contributions
    0

    Default Re: ID instead of Model on Invoice?

    on what file? and where abouts? sorry - im not the greatest with this stuff. Im getting better. but still far from perfection.

  4. #4
    Join Date
    Oct 2007
    Location
    Victoria, Australia
    Posts
    19
    Plugin Contributions
    0

    Default Re: ID instead of Model on Invoice?

    Nevermind - i worked it out - just need to make it look a little neater ;)

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: ID instead of Model on Invoice?

    What was the solution that you discovered that worked best for you?
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jul 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: ID instead of Model on Invoice?

    I'm trying to figure this out as well. Please post a solution after you've found them...

    Where do I find this
    $order->products[$i]['id']

    Thank you

  7. #7
    Join Date
    Jul 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: ID instead of Model on Invoice?

    I found the solution:

    go to /public_html/admin/invoice.php

    replace $order->products[$i][model'] with : $order->products[$i]['id']

    do the same with /admin/packingslip.php

    the Model field will then be replaced with the Product ID field.

 

 

Similar Threads

  1. v150 Invoice instead of Purchase
    By tomcannondesign in forum General Questions
    Replies: 11
    Last Post: 20 Mar 2012, 11:06 PM
  2. Specify product_id or pull up products by model instead?
    By stevenlee in forum General Questions
    Replies: 0
    Last Post: 13 Mar 2009, 03:15 AM
  3. Use model numbers, instead of item number
    By mikecass in forum General Questions
    Replies: 0
    Last Post: 22 Aug 2007, 10:45 PM
  4. Sorting products by model instead of name
    By trondos in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 21 Jun 2007, 10:53 PM

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