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!,
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!,
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.
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.