Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    8
    Plugin Contributions
    0

    Default Sorting "Products Model" in numerical order on INVOICE?

    Hi All,

    I am using:
    Zen Cart 1.3.8a
    Patch: 1::
    Database Patch Level: 1.3.8

    Is there a way that I can sort "Product Model" numbers in numerical order (ASCENDING order) on my invoices to make it easier to pick from inventory?

    Thanks in advance!

    Ray Gabriel
    http://www.raygabriel.com

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

    Default Re: Sorting "Products Model" in numerical order on INVOICE?

    You can try customizing the order class and change the order by ... currently it is set to match the way the products were added to the Order based on how the customer ordered them:
    Code:
        $orders_products_query = "select orders_products_id, products_id, products_name,
                                     products_model, products_price, products_tax,
                                     products_quantity, final_price,
                                     onetime_charges,
                                     products_priced_by_attribute, product_is_free, products_discount_type,
                                     products_discount_type_from
                                      from " . TABLE_ORDERS_PRODUCTS . "
                                      where orders_id = '" . (int)$order_id . "'
                                      order by orders_products_id";
    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!

 

 

Similar Threads

  1. Product sort order in "All Products..." page by model
    By corrado444 in forum Basic Configuration
    Replies: 18
    Last Post: 24 May 2011, 05:00 PM
  2. Sorting "All Products" by stock ?
    By NullMind in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Apr 2008, 12:24 PM
  3. "New Products for <month>" Sorting
    By Capp-Ware in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jun 2007, 02:46 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