Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2012
    Posts
    282
    Plugin Contributions
    0

    Default Question about orders_products table

    I'm trying to locate at what point, or in which file, probably a class file, that products get put into orders_products.

    the constant for the table is TABLE_ORDERS_PRODUCTS.

    any help on this would be extremely appreciated!,

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,879
    Plugin Contributions
    96

    Default Re: Question about orders_products table

    During the checkout_process page, via call to the order class's function create_add_products(). Use your admin's Tools->Developers Tool Kit and search for $order->create_add_products.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Question about orders_products table

    And, just like I told the other person who asked the same question earlier this week, it's rare for you to need to actually change the code in that file. Instead, you should strongly consider using notifier/observer code to add your additional functionality.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. orders_products table issue
    By kkfok1 in forum General Questions
    Replies: 0
    Last Post: 3 Sep 2012, 03:51 PM
  2. Adding unit_cost fields to orders_products table
    By TraderDan in forum General Questions
    Replies: 3
    Last Post: 30 Jul 2010, 08:04 PM
  3. Get attribute id from orders_products table
    By mgraphic in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 28 Nov 2008, 06:51 AM
  4. orders_products Table Question
    By rapidsci1 in forum General Questions
    Replies: 1
    Last Post: 2 Feb 2007, 07:08 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