Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    197
    Plugin Contributions
    0

    Default Model # does not show up in Order Page

    Hello,

    I have been trying to figure out how to have the Model# or Item# displayed on Order Page, but I got stuck.

    I am using Zencart 1.3.9h

    Please help me out.

    Thanks for your help!

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

    Default Re: Model # does not show up in Order Page

    When you are editing the Order or on the Invoice or the Packing slip?

    There is a function for getting a Product's Model number that you can use by adding the products_id with the function:
    zen_get_products_model($products_id)

    where the $products_id is replaced with the current products_id ... if it is not available where you are trying to display it ...

    Model already shows on the file:
    /admin/orders.php

    around line 506 with:
    Code:
               '            <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" .
    The products_id can be accessed on the
    /admin/orders.php

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

    where are you trying to get this to display?
    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.5]
    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!

 

 

Similar Threads

  1. People can order but it does not show up
    By JuliasOrganicThings in forum General Questions
    Replies: 1
    Last Post: 13 Nov 2011, 04:23 AM
  2. Replies: 15
    Last Post: 18 Nov 2010, 06:57 PM
  3. Admin page does not show toolbar???
    By sricharankatrue in forum Customization from the Admin
    Replies: 0
    Last Post: 18 Aug 2009, 07:32 PM
  4. my 404 page does not show up
    By humbll in forum General Questions
    Replies: 1
    Last Post: 29 May 2007, 03:06 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