Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Location
    Edinburgh
    Posts
    130
    Plugin Contributions
    0

    Default Adding manufacturers name to Orders page

    As in the title.
    Thanks

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

    Default Re: Adding manufacturers name to Orders page

    I think I have a solution but someone would have check its correct:



    Code:
    /home/virtual/site50/fst/var/www/html/admin/includes/classes/order.php
    
    $orders_products = $db->Execute("select orders_products_id, products_id, products_name, products_manufacturer, products_model,
    
    from " . TABLE_ORDERS_PRODUCTS . "
    
    order by orders_products_id");
    
    while (!$orders_products->EOF) {
    
    $fix_qty = $orders_products->fields['products_quantity'];
    
    $new_qty = preg_replace('/[0]+$/', '', $orders_products->fields['products_quantity']);
    
    new_qty = $orders_products->fields['products_quantity'];
    
    'id' => $orders_products->fields['products_id'],
    
    'name' => $orders_products->fields['products_name'],
    
    'manufacturer' => $orders_products->fields['products_manufacturer'],
    
    'model' => $orders_products->fields['products_model'],
    
    'tax' => $orders_products->fields['products_tax'],
    
    'price' => $orders_products->fields['products_price'],
    
    'onetime_charges' => $orders_products->fields['onetime_charges'],
    
     'final_price' => $orders_products->fields['final_price'],
    
    'product_is_free' => $orders_products->fields['product_is_free']);
    
    from " . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . "
    
    and orders_products_id = '" . (int)$orders_products->fields['orders_products_id'] . "'");
    
    $orders_products->MoveNext();
    Last edited by safeg; 3 Nov 2009 at 04:42 PM.

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

    Default Re: Adding manufacturers name to Orders page

    No answer here...

 

 

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. Manufacturers name in Orders page
    By safeg in forum Managing Customers and Orders
    Replies: 3
    Last Post: 9 Nov 2009, 11:55 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