Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Manufacturers name in Orders page

    Hi there

    I have looked everywhere for that problem, got solution which didn't work at all. I need a quick help with this problem and if anyone know the solution I would much appreciate.

    In Orders page there is a table that shows what customers has bought. In this table there are a few columns: (from the left) Products Models Tax

    What I need is to put a new column with manufacturers name, somewhere between Products and Model.

    I got one solution, tried it and it didn't work.


    Here is what I got:

    HTML Code:
    In your includes/templates/your_custom_template_name/tpl_account_history_default.php file,
    
    find:
    
    <td class="accountQuantityDisplay"><?php echo  $order->products[$i]['qty'] . QUANTITY_SUFFIX; ?></td>
    
    add right below:
    
    <td class="accountProductManufacturers"><?php echo zen_get_products_manufacturers_name($order->products[$i]['id']); ?></td>
    
    Then, in your CSS file, you can create a new instance called: accountProductManufacturers and customize it, if you'd like.
    
    This should show the manufacturers name right between the products quantity ordered and the products name in the order's history from the store.

  2. #2
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Manufacturers name in Orders page

    Any help..?

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

    Default Re: Manufacturers name in Orders page

    One of the problems could be, that you are adding a TD on the row for the Product but not in the header area so you would have an unbalanced table being built ...

    This section holds the titles on the table:
    Code:
            <th scope="col" id="myAccountQuantity"><?php echo HEADING_QUANTITY; ?></th>
            <th scope="col" id="myAccountProducts"><?php echo HEADING_PRODUCTS; ?></th>
    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!

  4. #4
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Re: Manufacturers name in Orders page

    Thanks for the reply Ajeh. I think I am going to leave it as it is, however, I will quicly add manually the manufacturer in products name and that should do for a while

    However I will still be looking for the better solution

    Thanks again

 

 

Similar Threads

  1. Can I add the manufacturers name to product name?
    By icecold in forum General Questions
    Replies: 4
    Last Post: 3 Jun 2012, 06:18 PM
  2. Manufacturers Page Drop Down shows only subcategories name
    By hc1501 in forum General Questions
    Replies: 1
    Last Post: 19 Oct 2010, 05:39 PM
  3. Adding manufacturers name to Orders page
    By safeg in forum General Questions
    Replies: 2
    Last Post: 6 Nov 2009, 10:41 AM
  4. Manufacturers name in Featured Main Page
    By steveyork136 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Aug 2006, 10:02 AM

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